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 type of questions
What is constructor in oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is a null tree?
What is the types of inheritance?
What makes a language oop?
Can we define a class within the interface?
What is pointer in oop?
What is encapsulation c#?
Get me an image implementation program.
What is the problem with multiple inheritance?
What is the highest level of cohesion?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
Is react oop?
What is meant by oops concept?