Answer Posted / loga
Inheritance relationship among classes, where we can access
the base class variable and methods in the dervied class.
It has various type has multiple,multilevel,hybrid...
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are abstract methods?
What are the various types of constructors?
What is ‘this’ pointer?
What is the benefit of using inheritance?
Explain method overriding.
Do we require a parameter for constructors?
Write a program to show the inheritance used in a class.
Can you call the base class method without creating an instance?
Can constructors be parameterized?
What is difference between encapsulation and abstraction?
What is the abstract method modifier?
Write a note about inheritance?
what are the different ways for a method to be overloaded?
Can we reduce the visibility of the inherited or overridden method ?
What is a static method? Why do we need static methods in java 8 interfaces?