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?

Answers were Sorted based on User's Feedback



What is difference between Abstract Class and Interface?..

Answer / dhinesh

If a class has one abstract method ,the class has to be an
abstract class.
Methods can be implemented in abstract class.


Whereas a interface is like a abstract class...the only
difference being that the methods are never implemented in
Interface.

Is This Answer Correct ?    3 Yes 2 No

What is difference between Abstract Class and Interface?..

Answer / basudev pradhan

i) Abstarct is class does not have Body part,it can't create
instance ,but We provide Abstact method and normal
method,the abstarct can be inheritaed by another class,this
can must be implemented by Abstarct method,
ii) Abstarct class can only once inheritaed by Another class
But the interface can implements the More than one interface,
interface only provide Abstarct method ,this method have
does not body part,this class can implements the interface
Define the absract method

Is This Answer Correct ?    2 Yes 1 No

What is difference between Abstract Class and Interface?..

Answer / 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

More VB.NET Interview Questions

how many server control present in .net

0 Answers  


What is the maximum size of the textbox?

0 Answers  


What is vb.net used for?

0 Answers  


What are the advantages of migrating to vb.net?

0 Answers  


What is a preprocessor directive in vb.net?

0 Answers  


What is difference between a panel and GroupBox ?

3 Answers   GHK,


Explain option strict?

0 Answers  


What do you mean by serialization and deserialization?

0 Answers  


Explain an assembly and its use?

0 Answers  


Why do we use ansi keyword?

0 Answers  


What’s the difference between private and shared assembly?

0 Answers  


In vb.net how to connect crystal report?

1 Answers  


Categories