Question: Which of the following statements is correct in C++?
Options
A : Classes cannot have data as protected members.
B : Structures can have functions as members.
C : Class members are public by default.
D : Structure members are private by default.
OOPS Concepts - General Questions more questions
What will happen if a class is not having any....
Which inheritance type is used in the class given below?....
Which one of the following is correct about the statements....
Which of the following is an invalid visibility label while....
Which one of the following options is correct?
Which of the following is used to make an abstract....
Which of the following access specifier is used as a....
What is correct about the static data member of a....
Which of the following provides a reuse mechanism?
Which of the following statement is correct?
Constructors and Destructors - General Questions more Online Exam Quiz
Constructors and Destructors - General Questions
Objects and Classes - General Questions