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 an application domain?

2 Answers   Microsoft,


after which page life cycle event all properties of control will be "fully loaded "

10 Answers   FactorH,


can we transfer data from one page to another page using viewstate if so how?if not y?

37 Answers   AppShark, DataSync, Gtech, iGate, Wipro,


how many character send in one sms forget 160limit and think about gateway allowed

2 Answers   Wipro,


How would one do a deep copy in .NET?

6 Answers   TCS,


what is shared assembly?

2 Answers   Microsoft,


what is view state

5 Answers   Microsoft, Siebel Systems,


What is the difference between web.config and machine.config in ASP.NET?

0 Answers   Amazon,


Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?

0 Answers  


Is it right that ASP.NET Web API has replaced WCF?

0 Answers  


In which module you have worked in your .net project explain?

1 Answers   TechSolution,


repeater and gridview diff? Why is repeater fast than gridview?

3 Answers   TCS,


Categories