Computer Science, asked by ankit321, 1 year ago

what is inheritance????????

Answers

Answered by rohit710
11
Inheritance in java is a mechanism in which one object acquires all the properties and behaviors of parent object.

inheritance in java is that you can create new classes that are built upon existing classes.

Hope it helps

rohit710: pls mark my answer as brainliest
ankit321: k..
rohit710: thanks
ankit321: ur wlcm..
Answered by Shakespeare0856
8
It is a mechanism in which one object acquires all the properties and behaviours of parent object.
Similar questions