What is inheritance?

Answers were Sorted based on User's Feedback



What is inheritance?..

Answer / 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

What is inheritance?..

Answer / guest

the process of reusing the existing components to develop
new things

Is This Answer Correct ?    1 Yes 0 No

What is inheritance?..

Answer / guest

the process of creating new things by using existing ones

Is This Answer Correct ?    1 Yes 0 No

What is inheritance?..

Answer / ravikiran(aptech mumbai)

inheritance is the property of inheriting the properties of
super class to subclass

Is This Answer Correct ?    1 Yes 0 No

What is inheritance?..

Answer / umesh yeware

Inheritance is the key feauture of object oriented
programming in which you can aquire some or all the
properties of one class into the other class by ihheriting
it

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

there are some duplicate values in ArrayList, how U'll get that array with out duplicate?

4 Answers   CMC,


What is the use of math abs in java?

0 Answers  


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

0 Answers  


What is the return type of a program?s main() method?

3 Answers  


How do you write a scanner class in java?

0 Answers  






Why do we use predicate in java?

0 Answers  


Which is best ide for java?

0 Answers  


What is the concatenation operator in java?

0 Answers   Aspire, Infogain,


Write a program to solve producer consumer problem in java?

0 Answers  


What is replacefirst in java?

0 Answers  


What access modifiers can be used for variables?

0 Answers  


What is finally in exception handling?

7 Answers  


Categories