Computer Science, asked by ishu1307, 1 year ago

what is inheritance​

Answers

Answered by Anonymous
7

Inheritance is a mechanism wherein a new class is derived from an existing class. In Java, classes may inherit or acquire the properties and methods of other classes. A class derived from another class is called a subclass, whereas the class from which a subclass is derived is called a superclass.

hope it helps you........

Answered by MissTanya
2

\huge{\boxed{\mathfrak{\underline{\purple{answer!}}}}}

﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏

Inheritance

In object-oriented programming, inheritance is the concept that when a class of objects is defined, any subclass that is defined can inherit the definitions of one or more general classes.

ђ๏קє เt ђєlקร ...♥

Similar questions