H Hằng Đoàn New member Sep 20, 2021 #1 Which access specifier is usually used for data members of a class? A. Private B. Default C. Protected D. Public
Which access specifier is usually used for data members of a class? A. Private B. Default C. Protected D. Public
T thanhthao New member Sep 20, 2021 #2 Answer: a Explanation: All the data members should be made private to ensure the highest security of data. In special cases we can use public or protected access, but it is advised to keep the data members private always. Upvote 0 Downvote
Answer: a Explanation: All the data members should be made private to ensure the highest security of data. In special cases we can use public or protected access, but it is advised to keep the data members private always.