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
What are JVM.JRE, J2EE, JNI?
Is zero a natural number?
Can we serialize static variables in java?
Can you declare a private method as static?
How many types of flags are there?
Can there be an abstract method without an abstract class?
What does exp mean in math?
Is int a class in java?
What is comparator in java?
What is the difference between hashset and treeset in java?
What is object data type?
What is meant by polymorphism?
Difference between a process and a program?
What the difference is between execute, execute Query, execute Update?
What is the purpose of interface?