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 QPSR
B QPRS
C PQSR
D
PQRS
Share : |
A Object
B Friend Functions
C Member Variables
D Member Functions
Share : |
A a class is declared
B an object is used
C an object goes out of scope.
D an object is created
Share : |
A It allows private members of the base class to be inherited in the derived class.
B It is used to provide multiple inheritance.
C It is used to allow multiple copies of base class in a derived class.
D It is used to avoid multiple copies of base class in derived class.
Share : |
A Zero
B As many as we want
C One
D Two
Share : |
A kind of relationship
B has a relationship
C Inheritance
D Both A and B
Share : |
A Private members of the base class become private members of derived class.
B Public members of the base class become public 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 private 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 shows the relationships between the classes in the form of an organization chart.
C It describes "kind of" relationships.
D It describes "has a" relationships.
Share : |
A Functions
B Object
C Both B and C
D Operators
Share : |
