COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is not a part of OOP?
A
Multi-Tasking
B
Type checking
C
Polymorphism
D
Information Hiding
Explanation: 

Detailed explanation-1: -Because there are 4 OOPS concepts in Java, and they are: Inheritance, Encapsulation, Polymorphism, And Abstraction. And Compilation is not a part of the OOPS concept in Java.

Detailed explanation-2: -Multitasking is Not integrated in oops .

Detailed explanation-3: -Yes. In fact inheritance and encapsulation are often used to achieve polymorphism.

There is 1 question to complete.