What is inheritance?
Answers were Sorted based on User's Feedback
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 |
Answer / guest
the process of creating new things by using existing ones
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / guest
the process of reusing the existing components to develop
new things
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
inheritance is the property of inheriting the properties of
super class to subclass
| Is This Answer Correct ? | 1 Yes | 1 No |
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 |
how can u apply shallow cloning and deep cloning to create object?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What does mean in regex?
What is type casting?
Why is stringbuffer faster than string?
why should we get the following error ? Exception in main method NoClassDefFoundError:classname could anyone give the detail clarification on how java compiler can look for .class file?
Can we call the run() method instead of start()?
What do you mean by platform independence of Java?
Which characters are allowed to use as the second character of an identifier, and which characters are not allowed?
What do you know about the garbage collector in java?
How can we use primitive data types as objects?
How do you use find and replace?