Solved

Which of the Following Statements Is False

Question 12

Multiple Choice

Which of the following statements is false?


A) Variables or functions listed after the public access specifier (and before the next access specifier, if there is one) are "available to the public." They can be used by other functions in the program, and by member functions of other classes.
B) By default, everything in a class is private, unless you specify otherwise.
C) You must list an access specifier for every member.
D) Declaring data members private is known as data hiding. private data members are encapsulated (hidden) in an object and can be accessed only by member functions of the object's class.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions