

MCQOPTIONS
Saved Bookmarks
This section includes 916 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.
901. |
Which of the following is not type of class? |
A. | Abstract Class |
B. | Final Class |
C. | Start Class |
D. | String Class |
Answer» D. String Class | |
902. |
Which feature allows open recursion, among the following? |
A. | Use of this pointer |
B. | Use of pointers |
C. | Use of pass by value |
D. | Use of parameterized constructor |
Answer» B. Use of pointers | |
903. |
Which of the two features match each other? |
A. | Inheritance and Encapsulation |
B. | Encapsulation and Polymorphism |
C. | Encapsulation and Abstraction |
D. | Abstraction and Polymorphism |
Answer» D. Abstraction and Polymorphism | |
904. |
Which header file is required in C++ to use OOP? |
A. | iostream.h |
B. | stdio.h |
C. | stdlib.h |
D. | OOP can be used without using any header file |
Answer» E. | |
905. |
Which concept of OOP is false for C++? |
A. | Code can be written without using classes |
B. | Code must contain at least one class |
C. | A class must have member functions |
D. | At least one object should be declared in code |
Answer» C. A class must have member functions | |
906. |
Why Java is Partially OOP language? |
A. | It supports usual declaration of primitive data types |
B. | It doesn’t support all types of inheritance |
C. | It allows code to be written outside classes |
D. | It does not support pointers |
Answer» B. It doesn’t support all types of inheritance | |
907. |
When OOP concept did first came into picture? |
A. | 1970’s |
B. | 1980’s |
C. | 1993 |
D. | 1995 |
Answer» B. 1980’s | |
908. |
How many classes can be defined in a single program? |
A. | Only 1 |
B. | Only 100 |
C. | Only 999 |
D. | As many as you want |
Answer» E. | |
909. |
Which language does not support all 4 types of inheritance? |
A. | C++ |
B. | Java |
C. | Kotlin |
D. | Small Talk |
Answer» C. Kotlin | |
910. |
Which Feature of OOP illustrated the code reusability? |
A. | Polymorphism |
B. | Abstraction |
C. | Encapsulation |
D. | Inheritance |
Answer» E. | |
911. |
Pure OOP can be implemented without using class in a program. (True or False) |
A. | True |
B. | False |
Answer» C. | |
912. |
Which is not feature of OOP in general definitions? |
A. | Code reusability |
B. | Modularity |
C. | Duplicate/Redundant data |
D. | Efficient Code |
Answer» D. Efficient Code | |
913. |
What is the additional feature in classes that was not in structures? |
A. | Data members |
B. | Member functions |
C. | Static data allowed |
D. | Public access specifier |
Answer» C. Static data allowed | |
914. |
Who invented OOP? |
A. | Alan Kay |
B. | Andrea Ferro |
C. | Dennis Ritchie |
D. | Adele Goldberg |
Answer» B. Andrea Ferro | |
915. |
Which of the following best defines a class? |
A. | Parent of an object |
B. | Instance of an object |
C. | Blueprint of an object |
D. | Scope of an object |
Answer» C. Blueprint of an object | |
916. |
Which was the first purely object oriented programming language developed? |
A. | Java |
B. | C++ |
C. | SmallTalk |
D. | Kotlin |
Answer» D. Kotlin | |