Essential features of object-oriented language are
- Inheritance: forming a new class from an existing class. It helps to reuse code.
- Abstraction: Provide only essential information to the outside world and hide background details.
- Overloading: specify more than one definition for a function name or an operator in the same scope.
- Polymorphism: A call to a member function will invoke a different function depending on the type of object that invokes the function.
- Encapsulation: Binding data and functions accessing the data together and that keeps both safe from outside interference and misuse.
Now, go through the given options,
- A is true.
- B is false ( Perl is a loosely typed language but supports OOPS),
- C is false
- D is true
Answer is C) A and D only