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

When should you use Abstract Class vs Interface while
programming? Give 1 Example

Answer Posted / rupali

Abstract class can contain non abstract method.
When we want that all subclass must implement all methods of
base class ;In such situation use interface.In other hand
when we want only some method of base class in our subclass
then use base class as abstract class because abstract class
can contain non-abstract method.

Is This Answer Correct ?    45 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different pipelining hazards and how are they eliminated? : Dot net architecture

939


What happens to the winfx technologies?

1010


What is Com Callable wrapper?when it will created?

931


what is diffrent beatween localprinter and networkprinter

1766


What is the difference between machine config vs. Web config : Dot net architecture

958


What is one way operation?

969


What are public and private assemblies ?

950


Can you explain atlasuiglitz library?

928


Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile

929


State and explain about microsoft.net?

949


6. Wcf- what is SOA

2371


State the different levels of exceptional safety?

1000


What is the mesi? : Dot net architecture

1037


Explain the difference between state server and sqlserver : Dot net architecture

892


12. Types of polymorphisem[Run and Design Exp.]

2070