whats is inheritance?

Answer Posted / raja

Inheritence is the process of creating a new class from
an existing class. The new class may access the all the
data members in the parent class. The new class is called
sub class. The existing class is called super class or base
class..

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

1104


Can we return null in java?

854


How does linkedhashmap work in java?

723


Which is better arraylist or vector?

815


What is the purpose of using java.lang.class class?

768


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2599


What do you mean by Function Overloading in java?

952


What is double data type?

753


Is zero a positive integer?

792


What is java and its types?

793


What is the difference between exception and error in java?

733


What is the reflection?

799


What is pangram in java?

778


List primitive java types?

802


Describe the term diamond problem.

793