Question
a.
New class is a composite of other objects
b.
New class is inherited
c.
New class is aggregate of another
d.
None of them
Posted under Object Oriented Programming Using C++
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. When a data member of the new class is an object of another class, it is called as
Similar Questions
Discover Related MCQs
Q. We can define a new class from an existing class, by using
View solution
Q. C++ allows the objects of different types to respond differently to the same function call, is called
View solution
Q. Polymorphism means
View solution
Q. Composition is often referred as "has-a" relation, whereas inheritance is referred as
View solution
Q. A way to reuse existing classes to create new classes, is called
View solution
Q. The classes refers to the use of one or more classes within the definition of another class, is called
View solution
Q. A class that have no pure virtual member functions, are called
View solution
Q. In object oriented programming there are two distinct views, one is consumer and second is manufacturer view, that manufacturer's action are called
View solution
Q. A virtual member function is a member function that can
View solution
Q. Specialization and derivation is another name of
View solution
Q. Object-oriented programming refers to the use of
View solution
Q. A pure virtual function is initialized by
View solution
Q. An abstract base class is, that have
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming Using C++? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!