+ 2

What is inheritance?

13th Sep 2016, 11:50 PM
violet
5 Answers
+ 4
http://www.tutorialspoint.com/java/java_inheritance.htm this should give you more details, as always when you are learning java make sure you use many resources, you will learn a lot as this app is limited to deeper explanations.
14th Sep 2016, 1:22 AM
Machete X7
Machete X7 - avatar
+ 2
it is the process by which one class acquired property of the next class. OR new class derived from existing class.OR child class derived from parent class. it has three types in java.u will let to know.it supports 1.single 2.multilevel 3.heirarchy inheritance and there two also but java doesn't exist these two. multiple and hybrid but they can be used in different manner. multiple can be represented in (INTERFACE).
14th Sep 2016, 6:20 PM
Pranit Bhoir
Pranit Bhoir - avatar
+ 1
It means that creating a new data type from an existing data type
14th Sep 2016, 7:57 AM
Harish VS
0
deriving new classes from the existing classes, thereby inheriting fields and methods from the existing classes is called inheritance
14th Sep 2016, 10:49 AM
Teja Naraharisetti
Teja Naraharisetti - avatar
0
When one class is inherited from another class, it inherits all of the superclass' non-private variables and methods.
24th Sep 2016, 9:56 PM
Roy
Roy - avatar