(A) Abnormal Termination
(B) Graceful Termination
(C) Return the illegal
(D) all of the given
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.
__ members are somewhere between public and private members. They are used in inheritance.
(A) protected
(B) public
(C) private
(D) global
The type that is used to declare a reference or pointer is called its __.
(A) default type
(B) static type
(C) abstract type
(D) reference type
Public methods of base class can __ be accessed in its derived class.
(A) directly
(B) inderectly
(C) simultaniously
(D) non of the given
Default constructor is such constructor which Parameter, temporary either has no __or if it has some parameters these have __ values.
(A) Parameter, temporary
(B) Null, Parameter
(C) Parameter, default
(D) non of the given
We can use “this” pointer in the constructor in the body and even in the initialization list of any class if we are careful.
(A) True
(B) False
In a de-queue, (chose the best option):
(A) Data can be quickly inserted or deleted at any arbitrary location
(B) Data can be inserted or deleted at any arbitrary location, but the process is relatively slow
(C) Data can not be quickly inserted or deleted at either end
(D) Data can be inserted or deleted at either end, but the process is relatively slow
Vectors contain contiguous elements stored as a?
(A) Variable
(B) Array
(C) Function
(D) Datatype