(A) True
(B) False
(C) NA
(D) NA
Tag: OOP Mcqs
The dot operator (or class member access operator) connects the following two entities (reading from left to right):
(A) A class member and a class object
(B) A class object and a class
(C) A class and a member of that class
(D) A class object and a member of that class
Consider the statement ―room has chair‖ Which of the following type of association exists between room and chair?
(A) Inheritance
(B) Composition
(C) There is no association
(D) Aggregation
An abstract class shows __ behaviour.
(A) Overriding
(B) Specific
(C) General
(D) None of the given
Constructor have same name as the class name?
(A) true
(B) false
(C) NA
(D) NA
Data members are the attributes of objects?
(A) true
(B) false
(C) NA
(D) NA
The sentence __Object Oriented Programming book in bookshelf‖ is an example of.
(A) Association
(B) Multiple association
(C) Aggregation
(D) none of the given
Three main characteristics of “Object Oriented programming” are?
(A) Encapsulation,dynamic binding,polymarhpishm
(B) polymorphism, overloading, overriding
(C) encapsulation, inheritance, dynamic binding
(D) encapsulation, inheritance, polymorphism