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...

Tell me the scenario,Where we can use interfaces or
Abstract class.And What is the difference between
interfaces and abstract class?

Answer Posted / bhavani

The whole reason you have a special Interface type-category
in addition to abstract base classes in C#/Java is because
C#/Java do not support multiple inheritance.

C++ supports multiple inheritance, and so a special type
isn't needed. An abstract base class with no non-abstract
methods is functionally equivalent to a C#/Java interface.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of polymorphism?

1243


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2306


is there any choice in opting subjects like 4 out of 7

2165


Can you explain polymorphism?

1098


How do you define social class?

1051


What is coupling in oop?

1008


How to improve object oriented design skills?

997


What is the difference between encapsulation and polymorphism?

1089


What is the difference between abstraction and polymorphism?

1081


Whats is abstraction in oops?

1059


What is solid in oops?

1107


What does and I oop mean?

1157


What is a function in oop?

1072


How can you overcome the diamond problem in inheritance?

1172


What is an example of genetic polymorphism?

1163