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

What is the purpose of cache? How is it used? : Dot net architecture

854


What are the options provived by vss to the user? how it will help us while delevoping application?

2174


i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?

2718


IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class

1974


What are the types of application software?

924


What is the problem with .net generics?

1035


What is the difference between absolute expiration and sliding-time expiration?

981


So what exactly is the configuration file for then?

927


What happens to the winfx technologies?

953


Can I create my own permission set?

984


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

1018


Define the mesi? : Dot net architecture

900


The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.

14952


What is Object Caching in Visual Studio 2010?

959


What's the difference between an application and a program?

1066