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

Write a program to calculate factorial in java?

580


Are generics important java?

521


What is null object in java?

570


What about anonymous inner classes in java?

559


What does indexof mean?

528






I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

1593


Differentiate between the constructors and methods in java?

499


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

589


Explain creating threads by implementing runnable class?

584


What is run time allocation?

573


How is hashset defined in java?

517


What is a protected method?

591


What are the differences between string, stringbuffer and stringbuilder?

515


What is the default size of set in java?

496


What is the public method modifier?

540