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 the difference between Abstract and Interface?

Answer Posted / muhammad hussain wazir pakista

1: Abstract class contains abstract and non abstract methods
while interface contains all abstract methods.

2: Interface only contain definition of method no
implementation but Abstract class can have this quality.

3: We can not create object of abstract class.
4: We can create constructor and Destructure Abstract class
can while this can be do in Interface.
5: In interface all methods are abstract and have no keyword
of Abstract with method.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Overloaded constructor will call default constructor internally?

1058


How do you achieve polymorphism in c#?

902


What is a singleton unity?

987


What is static noise?

916


What is thread in c#?

960


What are the string functions in c#?

979


What is exe file in c#?

884


What is default c#?

958


What is lazy loading entity framework?

1017


What is an inheritance ?Give an example in which inheritance is used?

1047


can you declare an override method to be static if the original method is not static?

1022


Which sorting algorithm is best?

1004


Why use a singleton instead of static methods?

906


What is the benefit of dependency injection c#?

907


What does console readline do?

885