Composition and Inheritance Multiple Choice Questions 1 PDF Download

Learn composition and inheritance multiple choice questions (MCQs), c++ test 1 for online course prep exams. Practice virtual functions MCQs questions and answers on virtual functions, composition and inheritance for online software engineering colleges test prep.

Free composition and inheritance quiz online, study guide has multiple choice question on polymorphism is achieved by with options arrays, operators, constructors and virtual function to test online e-learning skills for viva exam prep and job's interview questions with answers key. Study to learn virtual functions quiz questions with online learning MCQs for competitive exam preparation test.

MCQ on Composition and Inheritance Quiz PDF Download Test 1

MCQ. Polymorphism is achieved by

  1. Operators
  2. Arrays
  3. Constructors
  4. Virtual function

D

MCQ. In object oriented programming there are two distinct views, one is consumer and second is manufacturer view, that consumer action are called

  1. Functions
  2. Operations
  3. Methods
  4. All of them

B

MCQ. There are how many ways to use existing classes to define a new class?

  1. 1
  2. 2
  3. 3
  4. 4

B

MCQ. Composition is also called as

  1. Containment
  2. Provision
  3. Aggregation
  4. Both A and C

D

MCQ. When a data member of new class is an object of another class, it is called as

  1. New class is a composite of other objects
  2. New class is inherited
  3. New class is aggregate of another
  4. None of them

A