Advantages of Inheritance in java.

Answer Posted / prasanna

java is a object oriented programming language in this
inhertiance is the one of the part. can we say inhertiance
can be use for all classes and it is used for inhert the sub
class from the super class

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is style and indentation?

747


Does constructor return any value?

770


Can you tell me range of byte?

743


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

734


What's the base class of all exception classes?

779


What is the purpose of nested class in java?

801


What are java threads?

837


Can we return null in java?

820


What does index mean in java?

726


Should a main method be compulsorily declared in all java classes?

770


Can we override compareto method?

705


How does callback work in java?

798


What is use of set in java?

697


What are methods of a class?

734


How do I enable java in safari?

759