OOP Basic Multiple Questions and Answers.

6.Which Feature of OOP illustrated the code re-usability ?
A. Polymorphism
B. Abstraction
C. Encapsulation
D. Inheritance

7.Which language does not support all 4 types of inheritance ?
A. C++
B. Java
C. Kotlin
D. Small Talk

8.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

9.When OOP concept did first came into picture ?
A. 1970’s
B. 1980’s
C. 1993
D. 1995

10.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


Read More :

Quick Links

GAT Subject

   Computer Science    English    Agriculture    Botany    


   Computer Science    Civil Engineering    


   Networking    Electronics    Database    

Past Papers

   Model Papers    FPSC    PPSC    NTS