Directions to Solve In questions below, each passage consist of six sentences. The first and sixth sentence are given in the begining. The middle four sentences in each have been removed and jumbled up. These are labelled as P, Q, R and S. Find out the proper order for the four sentences. A
PQRS
B PQSR
C QPRS
D QPSR
Share : |
A Member Functions
B Member Variables
C Object
D Friend Functions
Share : |
A an object is used
B a class is declared
C an object is created
D an object goes out of scope.
Share : |
A It is used to allow multiple copies of base class in a derived class.
B It allows private members of the base class to be inherited in the derived class.
C It is used to avoid multiple copies of base class in derived class.
D It is used to provide multiple inheritance.
Share : |
A Two
B One
C As many as we want
D Zero
Share : |
A has a relationship
B Both A and B
C Inheritance
D kind of relationship
Share : |
A Private members of the base class become private members of derived class.
B Public members of the base class become private members of derived class.
C Public members of the base class become protected members of derived class.
D Public members of the base class become public members of derived class.
Share : |
A Member functions of a class must be private.
B Data items in a class must be private.
C Constructor of a class cannot be private.
D Both data and functions can be either private or public.
Share : |
A It shows the same relationship as a family tree.
B It describes "has a" relationships.
C It shows the relationships between the classes in the form of an organization chart.
D It describes "kind of" relationships.
Share : |
A Object
B Functions
C Both B and C
D Operators
Share : |