Answer Posted / rajesh
Inheritance is the powerful mechanisam for resuabiltiy.
We can derive a class from whereever and whenever.
The resuabiltiy avoids to rewrite code and code length.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Detail discussions on JVM, memory management and garbage collector.
Is 0 a prime number?
What is java volatile?
What is meant by method?
What is an class?
What does nextint () do in java?
Explain features of interfaces in java?
Why singleton class is used in java?
Explain about field hiding in java?
What is ordered map in java?
What is treeset and treemap in java?
What is class array in java?
Explain java code for recursive solution's base case?
What is primitive data type in java?
Is java a prime method?