JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Object Oriented Programming interview questions part 33
Object Oriented Programming interview questions part 33
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Pure OOP can be implemented without using class in a program. (True or False)
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
2. Pure OOP can be implemented without using class in a program. (True or False)
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
3. Which Feature of OOP illustrated the code reusability?
A. Polymorphism
B. Abstraction
C. Encapsulation
D. Inheritance
Show Correct Answer
Correct Answer is :
Inheritance
4. Which Feature of OOP illustrated the code reusability?
A. Polymorphism
B. Abstraction
C. Encapsulation
D. Inheritance
Show Correct Answer
Correct Answer is :
Inheritance
5. Which language does not support all 4 types of inheritance?
A. C++
B. Java
C. Kotlin
D. Small Talk
Show Correct Answer
Correct Answer is :
Java
6. Which language does not support all 4 types of inheritance?
A. C++
B. Java
C. Kotlin
D. Small Talk
Show Correct Answer
Correct Answer is :
Java
7. 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
Show Correct Answer
Correct Answer is :
As many as you want
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
Show Correct Answer
Correct Answer is :
As many as you want
9. When OOP concept did first came into picture?
A. 1970’s
B. 1980’s
C. 1993
D. 1995
Show Correct Answer
Correct Answer is :
1970’s
10. When OOP concept did first came into picture?
A. 1970’s
B. 1980’s
C. 1993
D. 1995
Show Correct Answer
Correct Answer is :
1970’s
11. 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
Show Correct Answer
Correct Answer is :
It supports usual declaration of primitive data types
12. 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
Show Correct Answer
Correct Answer is :
It supports usual declaration of primitive data types
13. 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
Show Correct Answer
Correct Answer is :
Code must contain at least one class
14. 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
Show Correct Answer
Correct Answer is :
Code must contain at least one class
15. 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
Show Correct Answer
Correct Answer is :
OOP can be used without using any header file
16. 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
Show Correct Answer
Correct Answer is :
OOP can be used without using any header file
17. Which of the two features match each other?
A. Inheritance and Encapsulation
B. Encapsulation and Polymorphism
C. Encapsulation and Abstraction
D. Abstraction and Polymorphism
Show Correct Answer
Correct Answer is :
Encapsulation and Abstraction
18. Which of the two features match each other?
A. Inheritance and Encapsulation
B. Encapsulation and Polymorphism
C. Encapsulation and Abstraction
D. Abstraction and Polymorphism
Show Correct Answer
Correct Answer is :
Encapsulation and Abstraction
19. 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
Show Correct Answer
Correct Answer is :
Use of this pointer
20. 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
Show Correct Answer
Correct Answer is :
Use of this pointer
Similar Interview Questions
Search for latest jobs
Find Jobs