State whether the following statements about inheritance are True or False.
I . A public member of a class can be accessed by its own objects using the dot operator.
II . While inheriting, the private members of the base class will never become the members of its derived class.
A. True, False
B. False, True
C. True, True
D. False, False
Answer : C. True, True
Categorized in:
Tagged in:
Accenture interview questions and answers, an object of a derived class cannot access private members of base class, Applied Materials interview questions and answers, Atos interview questions and answers, BMC Software interview questions and answers, Bosch India Software interview questions and answers, c# inheritance intermcq on inheritance in c++, c++ inheritance practice questions, c++ programming exercises inheritance, CASTING NETWORKS INDIA PVT LIMITED interview questions and answers, Chetu interview questions and answers, Ciena Corporation interview questions and answers, Dell International Services India Pvt Ltd interview questions and answers, eInfochips interview questions and answers, Electronics Arts Inc interview questions and answers, Flipkart interview questions and answers, Harman International interview questions and answers, in oop, Indecomm Global Services interview questions and answers, inheritance and polymorphism quiz, inheritance in c++ questions and answers, inheritance in c++ with example program, inheritance mcq in java, inheritance output questions in c++, inheritance questions and answers, interview questions on inheritance in c++, Larsen & Toubro interview questions and answers, Mathworks India Private Limited interview questions and answers, Mavenir interview questions and answers, mcq on inheritance in c++ with answers, mcq on virtual function in c++, Mphasis interview questions and answers, NetApp interview questions and answers, Oracle Corporation interview questions and answers, PeopleStrong interview questions and answers, Philips Software Centre Pvt Ltd interview questions and answers, practical questions on inheritance in c++, programming exercises on inheritance, programming questions on inheritance in c++, programs on inheritance in c++, questions on inheritance in c++, Sapient Technical and HR Interview Questions, SRM Technologies interview questions and answers, Symphony Teleca interview questions and answers, Tech Mahindra interview questions and answers, Tecnotree interview questions and answers, types of inheritance in c++, which of the following is not a type of inheritance?, Wipro Infotech interview questions and answers, Wipro interview questions and answers, Yash Technologies interview questions and answers