explain the concept of inheritance with an example?
Answer Posted / ackrao
Deriving the properties of one class in to another class is called as inheritance.
Existing class is base class and new class is derived class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What’s the difference between unit, integration and functional testing?
Can we override constructor in java?
Is a method a procedure?
What is the instance of an object?
Difference between current previous versions of Java?
Explain the importance of thread scheduler in java?
what is use of functional interface in java 8?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
Can singleton class be serialized?
What is class and object in java?
How to do encapsulation in java?
What is java used for?
Explain the difference between the public, private, final, protected, and default modifiers?
Can you explain the meaning of aggregation and composition
Explain heap sort?