explain the concept of inheritance with an example?
Answer Posted / ravikiran(aptech mumbai)
inheritance is the proces of inheriting the properties of
super class into the subclass
| Is This Answer Correct ? | 18 Yes | 6 No |
Post New Answer View All Answers
What is a singleton class? Give a practical example of its usage.
What does a method signature consist of?
Can inner class have constructor?
Is 0 true or false in java?
What will be the initial value of an object reference which is defined as an instance variable?
Tell some latest versions in JAVA related areas?
What is tostring () method?
Can a private method be declared as static?
Can we convert stringbuilder to string in java?
How will you compute size of a structure?
What is the use of :: in java?
Can we declare the main method of our class as private?
Can we extend immutable class?
Why array is used in java?
What are voids?