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
Explain what an object is.
What is meant by overloading functions and operators?
What are the major differences between late and dynamic binding?
What is the abstract method modifier?
How to define an abstract class?
What is the difference between oop and sop?
State about java and its relation to object oriented programming?
Are constructors inherited? Can a subclass call the parent's class constructor? When?
Write down how will you create a Binary tree?
Explain about inheritance hierarchies?
What does the “abstract” keyword mean in front of a method? A class?
How many instances can be created for an abstract class?
What are different ways to create string object?
What is composition? Explain the purpose of composition.
Explain OOPS.