What is inheritance?

Answer Posted / janet

Inheritence is the process of inheriting all the features
from a class. The advantages of inheritence are reusability
of code and accessibility of variables and methods of the
super class by subclassses.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do u mean by variable?

579


Why is it called buffering?

591


Does A Class Inherit The Constructors Of Its Superclass?

546


Define interface in java?

611


When should I use stringbuffer?

584






What is a finally block?

572


What is a numeric digit?

608


What are keywords in programming?

572


What do you mean by of string::valueof expression in java 8?

552


How do you reverse sort in java?

513


What is a get method?

542


How will you compute size of a structure?

594


What is array initialization in java?

503


What is the purpose of the finalize() method?

720


What is lambda expression in java?

548