Object of one class acquire property of object another class, this process is known as ______

Options
- Inheritance
- Data hiding
- Encapsulation
- data compression


CORRECT ANSWER : Inheritance

Discussion Board
C++ - Inheritance

Object of one class acquire property of object another class, this process is known as Inheritance. The mechanism of deriving a class from another class is known as Inheritance.

Prajakta Pandit 01-26-2017 11:44 PM

Explanation.

Answer : Inheritance.

Inheritance allows us to define a class in terms of another class, which makes it easier to create and maintain an application. Inheritance means using the Pre-defined Code. Inheritance lets you create new classes from existing class.

Jayesh Sonar 02-24-2015 06:39 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement