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?s the difference between an interface and abstract
class?

Answers were Sorted based on User's Feedback



What?s the difference between an interface and abstract class?..

Answer / sunitha

Interface - All Methods in the Interface are abstract
Methods.So the Access Modifier is public by default which
helps the Class ABC Implementing the Interface to define
the code for the methods

Abstract - > Protected Methods can be defined & implemented
in Abstract Class. This class does some implementation of
its own & leaves the remaining implementation to the
Derived Class

1.Multiple Inheritance is possible through Interface only.
2.If we add any new method in the interface, then all the
derived class has to be altered to include the
implementation of the method.
3.Interface is on the Top Level

Is This Answer Correct ?    5 Yes 0 No

What?s the difference between an interface and abstract class?..

Answer / guest

In the interface all methods must be abstract; in the
abstract class some methods can be concrete. In the
interface no accessibility modifiers are allowed, which is
ok in abstract classes.

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More C Sharp Interview Questions

What is the difference between hashtable and dictionary?

0 Answers  


what is an exception in .net?

0 Answers  


How to override a function in c#?

0 Answers  


what are ways to debug the code step by step except using breakpoints?

1 Answers  


Is overriding of a function possible in the same class?

0 Answers  


What are the classes contained in a single .NET DLL ?

0 Answers   Siebel,


How do you escape in c#?

0 Answers  


write a c# program add two matrix with input number ?

0 Answers   Wipro,


Can you inherit multiple interfaces?

3 Answers  


Difference between ByVal and ByRef?

5 Answers   Microsoft,


what is read only and constant

8 Answers   FIC, IBM,


Tell me the difference between call by value and call by reference.

0 Answers   NIIT,


Categories