Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is differance between Abstract and Interface

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


Please Help Members By Posting Answers For Below Questions

what type of questions

2171


What is constructor in oop?

1166


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.

2243


What is a null tree?

1192


What is the types of inheritance?

1148


What makes a language oop?

1126


Can we define a class within the interface?

1097


What is pointer in oop?

1119


What is encapsulation c#?

1125


Get me an image implementation program.

2042


What is the problem with multiple inheritance?

1229


What is the highest level of cohesion?

1110


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6727


Is react oop?

1107


What is meant by oops concept?

1107