CBSE Computer Science - Revision Tour(Solved) CBSE Guess > eBooks > Class XII > CBSE Computer Science inheritane Solved Revision Tour By Mr. Ravi Kiran COMPUTER SCIENCE INHERITANCE (iii) Name the private member function(s) of
class Teacher. Ans: Teacher::Display( ) (iv) Is the member function OUT() accessible
the objects of Dept? Ans: Yes. Since it is public member function. DELHI 1999: 2.a) What do you understand by visibility modes in class derivations? What are these modes? 2 Ans: It is given in chapter 4, classes and
object as two answers. Ie Difference between
private and protected, private and public. 2.c) Consider the following declarations and
answer the questions below:
(i) Name the base class and derived class of the class heavy_vehicle. Ans:
(ii) Name the data member(s) that can be accessed from function displaydata. Ans:
CBSE Computer Science Solved Revision Tour By Mr. Ravi Kiran ( [email protected] ) |
|