What is abstact class? in which scinario we can use abstact
class?

Answer Posted / madhusudhanreddy t

Abstract is a keyword which can be used with methods and classes. When ever a class is not providing the full functionality then it is recommended to declare that class as the abstract class. When a class contains at least one abstract method then that class must be declared as abstract.

Abstract classes provide set of rules (abstract methods) which must be followed (overided) in the derived classes.

Abstract classes are not instantiable,but a reference can be created.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What actually happes when you add a something to arraylistcollection ?

490


Explain cache? : .NET Architecture

563


Session State and can i store desirialized object in state server, if yes how and if not why.

1350


How does .net remoting work?

622


can u give me real example of how web.config overrides the machine.config file?

1294






What is the .net class that allows the retrieval of a data element using a unique key?

569


How do we do authentications using atlas?

535


Whate are resource files? How are they used in .net?

499


Explain the race around condition? : Dot net architecture

484


Differences between VS 2005, 2008 and 2010 ?

580


Explain domestic architecture artifacts? : Dot net architecture

516


inprocess vs out process session state : Dot net architecture

521


Explain what does the term "green architecture" mean? : Dot net architecture

552


What is Object Caching in Visual Studio 2010?

599


I want to create a project like google maps how can we do that with atlas?

484