Describe inheritance as applied to java?

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


Please Help Members By Posting Answers For Below Questions

Is java good for beginners?

587


Can an arraylist be empty?

570


What advantage do java's layout managers provide over traditional windowing systems?

556


Tell me the Importent classes in net package?

1590


Can we override the static methods?

580






What is java life cycle?

543


What do you mean by light weight and heavy weight components?

565


What is nullpointerexception?

566


Describe method overriding

592


What is the use of jtable?

662


What is the use of coding?

529


How you can force the garbage collection?

546


How many bits is a boolean?

629


Difference between operator overloading and function overloading

621


Is null a string in java?

562