•   Best guide for exams of all nature, Competitive exams and Interviews
Here is the MCQs guide for the topic of Computer Programming. you will find various types of questions along with there answers in this
Q. Which language does not support single level inheritance ?
A.
C
B.
java
C.
C++
D.
Kitlin


Show Answer
Q. Which feature of oop encourges the code reusability
A.
Polymorphism
B.
Inheritance
C.
Abstraction
D.
Encapsulation


Show Answer
Q. Which of the following is correct for copy constructor?
A.
The argument object is passed by reference
B.
It can defined with zero arguments
C.
Used when an object is passed by value to a function
D.
Used when a function returns an object


Show Answer
Q. OOPs is invented by
A.
Andrea Ferro
B.
Dennis Ritchie
C.
Alan Kay
D.
Adele Goldberg


Show Answer
Q. Constructor Can return a value
A.
True
B.
False


Show Answer
Q. We can not create instance of
A.
Abstract Class
B.
Parent Class
C.
Nested Class


Show Answer
Q. Which of the following is not related to OOPs?
A.
Class and Object
B.
Constructor and Destructor
C.
Structure and Union


Show Answer
Q. Can we overload constructor in derived class?
A.
Yes
B.
No


Show Answer
Q. Which of the following is an abstract data type?
A.
Double
B.
String
C.
Int
D.
Class


Show Answer
Q. Which keyword is used to inherit a class or abstract class is
A.
extends
B.
extend
C.
implement
D.
inherit


Show Answer
Advertisment