Answer Posted / sri
Inheritance is a type of relationship among classes, wherein
one class shares the structure or behaviour defined in one
(single inheritance) or more (multiple inheritance) other
classes. Inheritance defines a "kind of" hierarchy among
classes in which a sub class inherits from one or more
super-classes; a sub-class typically augments or redefines
the existing structure and behaviour of its super-classes.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is bootstrap, extension and system class loader? Or can you explain primordial class loader?
What is the difference abstract class and interface?
What are a base class, subclass, and superclass?
What are the features of encapsulation ?
What is the purpose of late binding in object-oriented programming?
What is an abstraction and why is it important?
Explain the rationale behind object oriented concepts?
Describe the Diamond problem. Where does this problem occur?
Explain about realistic modeling?
How can we call the base method without creating an instance?
Do we require parameter for constructors?
What are sealed modifiers?
What is a friend function?
What are different types of arguments?
What is an interface?