Q.
For Cat and Animal class, correct way of inheritance is
Similar Questions
1.
Which among the following best describes encapsulation?
2.
If data members are private, what can we do to access them from the class object ?
3.
While using encapsulation, which among the following is possible ?
4.
Which feature can be implemented using encapsulation ?
5.
Find which of the following uses encapsulation ?
6.
Encapsulation helps in writing ___________ classes in java.
7.
Which among the following should be encapsulated ?
8.
How can Encapsulation be achieved ?
9.
Which among the following violates the principle of encapsulation almost always ?
10.
Which among the following would destroy the encapsulation mechanism if it was allowed in programming ?
PROGRAMMING IN C++ TOPICS