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

Difference between abstract class and interface

Answer Posted / ashish gupta

1)Abstract class can have either declaration or definition
of any method,however an interface must declare a method
and it can not define it.

2)An interface makes some sort of contract to its
implementing classes to define all the declared methods
within those classes.

3)A class/subclass should Extend the abstract class while a
class/subclass should Implement the interface.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the new features of .net 2.0?

921


Explain about cookie less session state? : .NET Architecture

933


What is an asssembly qualified name? Is it a filename? How is it different?

896


What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?

916


What is a service class?

963


Explain about httpruntime.cach.get(); method?

970


What is MS chart control in visual studio?

1165


What is IL code, CLR, CTS, GAC & GC?

977


Explain the types of memory management? : .NET Architecture

889


What is application frame host?

1012


HttpHendler and HttpModules

2113


how to create applications by using Visual Studio 2012?

907


What is textview control of .net mobile? : Microsoft dot net mobile

955


how to change row background color in gridview

950


What is .net mobile lists. Explain with an example? : Microsoft dot net mobile

850