what is Inheritense

Answer Posted / srinu

The Process of acquring the features from one class to
another class is called inheritance or derviation.
The class who give the feature from that class is called
Parent class.
The Class who take the feature from parent class is called
Child class

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is struts in java?

792


How do you pass by reference?

714


What is <> used for in java?

826


How do you use wildcards?

722


Is oracle java 11 free?

693






Differentiate between vector and array list.

818


Is string a wrapper class?

706


Where import statement is used in a java program?

781


Why do we need hashset in java?

690


How do you add an element to a hashset in java?

661


How do you write a scanner class in java?

745


What is finalize()? Is finalize() similar to a destructor?

715


Difference between object and reference?

872


What does jenkins do?

661


What is the difference between a field variable and a local variable?

751