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 ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain serialization and overriding?
What is dynamic or run time polymorphism?
What is the use of finalize method?
explain the difference between operator overloading and function overloading.
How to achieve data abstraction?
How many methods are there in the externalizable interface?
Define a good interface?
Can you instantiate an abstract class and what is an inner class?
Can a class implement two interfaces having default method with same name and signature?
Is it possible to override private virtual methods?
Which OOPS concept is used as a reuse mechanism?
Can we use static method definitions in interfaces?
Is is possible to define our own functional interface?
Explain about a class in oop?
Is iterator a class or interface? What is its use?