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
What is autoboxing and unboxing?
What is the use of accept () method in java?
When is the finally clause of a try-catch-finally statement executed?
What is immutability in java?
What is a constructor, constructor overloading in java?
What is boolean keyword in java?
When will we prefer to use set and list in java and why?
What is boolean example?
What is the difference between static (class) method and instance method?
what is object-oriented programming in java?
Why do we declare a class static?
What is the difference between throw and throws keywords?
What are the 8 primitive data types in java?
describe synchronization in respect to multithreading? : Java thread
Explain 5 features introduced in jdk 1.7?