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 cache? : .NET Architecture

989


How does .net mobile work? : Microsoft dot net mobile

938


What size is a .net object?

1032


Can you Explain element .net mobile with example? : Microsoft dot net mobile

940


Which software is used for .net programming?

926


how to set the startup position of the form?

1930


What is MS chart control in visual studio?

1228


Define cache? : Dot net architecture

946


What is the cli? Is it the same as the clr?

944


What is the purpose of hard disk? : Dot net architecture

948


How will you do windows authentication and what is the namespace?

1058


What is cache coherency and how is it eliminated? : Dot net architecture

943


What is cache coherency? : Dot net architecture

1017


Explain cache memory? : Dot net architecture

950


.Net Frame work arch?

2041