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 the rationale behind object oriented concepts?
What is the difference between class inheritance and interface inheritance?
Why is java not fully objective oriented?
State two differences between an object and a class.
Explain basic concepts of OOPS?
What is difference between encapsulation and abstraction?
Why is class hierarchies managed in object-oriented programming?
What are the problems faced by the developer using object oriented programming language?
How many methods do u implement if implement the serializable interface?
Why dynamic binding is used in object-oriented programming?
What is the use of interface?
Differentiate between overloading and overriding.
Write a program to show the inheritance used in a class.
Why is C not an OOP language?
Can you create an instance of an interface?