explain the concept of inheritance with an example?
Answer Posted / dsr
The base class properties into derived class. This is nown
as inheritance.
example: father and child relation. father properties power
get the child.
| Is This Answer Correct ? | 18 Yes | 4 No |
Post New Answer View All Answers
Can a vector contain heterogenous objects?
What is the difference between the ">>" and " >>>" operators in java?
Why set do not allow duplicates in java?
Is string a datatype?
What is static data type in java?
Why is it called buffering?
How does multithreading take place on a computer with a single cpu in java programming?
What is the vector class in java programming?
What is the exception hierarchy in java?
Can we define a package statement after the import statement in java?
What access modifiers can be used for class ?
What do you understand by the bean persistent property?
Can a lock be acquired on a class in java programming?
What are the types of java?
What is arrays fill in java?