question archive If you do not declare an access specification, the default for members of a class is: A/ private B/ global C/ public D/ inline E/ None of these
Subject:Computer SciencePrice:2.87 Bought7
If you do not declare an access specification, the default for members of a class is:
A/ private
B/ global
C/ public
D/ inline
E/ None of these
Answer)
The following is the valid one which states that if we do not declare the access specifier then the default for the members of the class will be:
private
private means only the class will be able to access the members.