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


Contrast the use of an abstract base class against an interface?

Answers were Sorted based on User's Feedback



Contrast the use of an abstract base class against an interface?..

Answer / kavita sharma

Abstract classes can provide implementations for methods and
properties. Interfaces only provide required declarations.

Is This Answer Correct ?    22 Yes 1 No

Contrast the use of an abstract base class against an interface?..

Answer / anbazhagan vv

A class can inherit only one absatract class, whereas the a
class can inherit more than one interface.

An abstract class can have abstract as well as non abstract
methods whereas the interface can have only the abstract
methods.

Is This Answer Correct ?    13 Yes 4 No

Contrast the use of an abstract base class against an interface?..

Answer / abhishek

Basically both Interfaces and Abstract class sit on top. An
abstract class can have defintion and body. It's also used
when we need to implement polymorphism (Contain at least one
virtual method). However an interface contains only
declaration.

An Abstract inherit a class, an abstract class and implement
an interface. But interface can only implement another
interface.

Is This Answer Correct ?    5 Yes 1 No

Contrast the use of an abstract base class against an interface?..

Answer / rajeev kumar singh

An abstract class can have abstract as well as non abstract
methods whereas the interface can have only the abstract
methods.
An Abstract inherit a class, an abstract class and implement
an interface. But interface can only implement another
interface.

Is This Answer Correct ?    5 Yes 4 No

Contrast the use of an abstract base class against an interface?..

Answer / vineet unnikrishnan

interface does not have theimplementation of its members
like functions,properties etc whereas abstract class can
have implementation of its members.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?

0 Answers  


How Session use Cookies in State Management?

0 Answers  


What are the action filters available in asp.net mvc

1 Answers   TCS,


What is an asp.net validator? And, mention its types.

0 Answers  


Which is better viewstate or session?

0 Answers  


How many types of validation are there?

0 Answers  


What are the different authentication modes in asp.net?

0 Answers  


what are the components available in global.asax ?

1 Answers  


Why does my asp.net file have multiple tag with runat=server?

0 Answers  


What is the difference between Classic ASP and ASP.Net?

0 Answers  


Which is an advantage of application service providers?

0 Answers  


Difference between .NET and previous version?

1 Answers   Microsoft,


Categories