(A) Association
(B) Composition
(C) Aggregation
(D) Inheritance
Category: Object Oriented Programming Mcqs
Object Oriented Programming OOP Mcqs for Screening tests, Interviews, Viva and Other competitive exams. Object Oriented Programming Mcqs section will help users to prepare mcqs of OOP for various exams. Aspirants of Lecturer Computer Science, SST Computer Science, Subject Specialist Computer Science, Data Entry operator, Computer Programmer, Computer Operator, Software engineer and all other Competitive Exams can prepare their Object Oriented programming portion from here.
Unary operators and assignment operator are right associative?
(A) true
(B) false
(C) NA
(D) NA
The sub-object‘s life is not dependent on the life of master class in __.
(A) Composition
(B) Aggregation
(C) Separation
(D) non of the given
Memory is allocated to non static members only, when?
(A) Class is created
(B) Object is defined
(C) Object is initialized
(D) Object is created
Class is not a mechanism to create objects and define user data types?
(A) true
(B) false
(C) NA
(D) NA
Without using Deep copy constructor, A __ problem can.
(A) System crash
(B) Memory Leakage
(C) Dangling pointer
(D) All of the given
Which one is not an object association?
(A) Simple association
(B) Inheritance
(C) Aggregation
(D) Association
A normal C++ operator that acts in special ways on newly defined data types is said to be?
(A) glorified
(B) encapsulated
(C) classified
(D) overloaded