explain the concept of inheritance with an example?

Answer Posted / ravikiran(aptech mumbai)

inheritance is the proces of inheriting the properties of
super class into the subclass

Is This Answer Correct ?    18 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is boolean a wrapper class in java?

604


Difference difference paint() and paintcomponent()?

533


What are recursive functions? Give some examples?

620


Is a char always 1 byte?

510


What is a static method in java?

543






Name some classes present in java.util.regex package.

608


Can you extend main method in java?

627


Is java hashset ordered?

577


Which is better 64 bit or 32 bit?

512


Explain about core java?

630


Explain access specifiers?

661


What 4 doubled?

544


What are three ways in which a thread can enter the waiting state in java programming?

686


What is the access scope of protected access specifier?

540


Why volatile is used in java?

532