explain the concept of inheritance with an example?
Answer Posted / kk
Inheritance is the process of extending the properties of super class to sub class(methods and variables) if required overriding the properties(methods)
eg...
child having(extended) the Characters(Behavior) of father.
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
Can we override static methods in java?
Why does abstract class have constructor?
what is recursion in java
What is a numeric string?
What are basic data types?
If goto and const is reserve words than why it is not work in java?
Explain when we should make an instance variable private.
What package is math in java?
What is the difference between an if statement and a switch statement?
What is meant by vector class, dictionary class, hash table class, and property class?
What is an immutable class? How to create an immutable class?
Explain Basics of OOP Language in java
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
How do you declare an array in java?