Answer Posted / poorna chandar rao
diffrence bettwen the abstract class and interfaces
abstract class is having abstarct methods and concrete
methods abstarct class as compulosry having subclass for the
implementation abstarct methods and abstarct does not
support multiple inheritence
because one subclass extend the abstract class their is no
scope for extends for another class because it is not
support for the multiple inheritence
ex 1: abstract class one
2 class two extends one extend three (not valid)
but interface having only method signature in the interface
their is concrete method and it supports the multiple
inhirtence because
ex: interface one
class two implements one extends three(valid)
onc class implemens the interface and extends to another
class that is support the multiple inhertince
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is overriding in oops?
What is the main feature of oop?
Is enum a class?
What type of loop is a for loop?
What is difference between data abstraction and encapsulation?
What is purpose of inheritance?
i got a backdoor offer in process global,Bangalore..Can i work with it?
Why is polymorphism important in oop?
What is a null tree?
What is encapsulation with example?
How oops is better than procedural?
What is the use of oops?
What are functions in oop?
What is the renewal class?
What is inheritance and how many types of inheritance?