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

Answer Posted / tarunkumar

Abstract class is a class in which it will contain both the
abstract and non-abstract methods.The abstract class must
be inheritable by another class. In vb.net it will be
defined using mustinheritable keyword.
The syntax is :
Public MustInheritable Class classname

Interface is a class in which it will contain only the
abstract methods. The interface can be implemented or not
by the another class.The functions in interface will be
implemented by the another class which implements the
interface.
The syntax is :
Public Interface interfacename

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What would you do to remove microsoft visual basic name space?

947


What is a literal control?

1012


How do you retrieve the customized properties of a .net application from xml .config file?

988


List the different types of assembly?

937


What are the advantages of migrating to vb.net?

991


What is the difference between Namespace and Assembly?

1141


What is datatype conversion?

1122


What is the feature anonymous type?

920


Name some of the features present in vb 2005?

957


Explain nested classes?

960


Explain the observations between vb.net and vc#.net?

930


What is static member?

1008


Explain the difference between .dll extension and .exe extension files?

1056


Explain about the ruby interface generator?

973


Why do we use byref keyword in vb.net?

1055