Computer Applications
What is inheritance?
OOP Intro Java
ICSE 2017
71 Likes
Answer
Inheritance is the mechanism by which a class acquires the properties and methods of another class.
Answered By
43 Likes
Related Questions
What is the literal meaning of Polymorphism?
- Using different operations for same purpose
- Using same operation for different purposes
- Using same data in different functions
- None of them
PASCAL is a structure oriented programming language.
Which of the following is not true for Encapsulation?
- Data and functions are loosely attached.
- Data and functions are wrapped together.
- Data is secured from getting mishandled.
- None of them.
Assertion (A): BASIC, Java, Python, etc. are some popular high level languages.
Reason (R): The instructions written in high level languages need language translators to be understood by the system.
Based on the above discussion, choose an appropriate statement from the options given below:
- Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).
- Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion (A).
- Assertion (A) is true and Reason (R) is false.
- Assertion (A) is false and Reason (R) is true.