whats is inheritance?

Answer Posted / shalini

Inheritance is the process of acquiring the properties of
one class to another class.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dot operator?

813


What is the difference between preparedstatement and statement in java?

840


Why for each loop is used?

794


What is complexity and its types?

755


What is jagged array in java?

787


What kind of variables can a class consist?

837


What is not thread safe?

780


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2610


Why does abstract class have constructor?

796


Can we override static methods in java?

847


What is difference between string and stringbuffer?

743


Difference between static synchronization vs. Instance synchronization?

864


Can we override the overloaded method?

833


What are the types of java?

833


What are different types of multitasking?

758