explain the concept of inheritance with an example?
Answer Posted / kush singh
Inheritance is a process of inheriting members and member functions of a particular class. This means one class can use the data members and functions of another similar class. This reduces efforts as similar data members or functions do not need to be declared again and again.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What does the append?
What is double data type?
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
In the below example, how many string objects are created?
How can we use primitive data types as objects?
What is stack explain?
Explain the difference between jdk, jre, and jvm?
How does system arraycopy work in java?
How dead lock situation occurs in java and how you can identify it?
Have you ever used hashtable and dictionary?
What is proper subset?
How to reverse a string in java?
What are java methods?
What are the main uses of the super keyword?
Java Compiler is stored in JDK, JRE or JVM?