What is inheritance in Java?

Question:What is inheritance in Java?

1.The process of creating multiple instances of a class

2.The process of hiding data and methods within a class

3.The process of reusing code from existing classes

4.The process of combining data and methods into a single unit


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!