Can we create instance for Abstract class?

Answer Posted / madhu

no,we cannot create instance for abstract class but we can
create reference for abstract class.A reference doesnot
contain its own memory like object when it is created, but
shares the memory of the class.

we can create an object for derived class.we can use
this object to call the methods.

Is This Answer Correct ?    27 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does exclamation mark mean in access query?

559


In object oriented programming, how would you describe encapsulation in c#?

544


What is the base class in .net from which all the classes are derived from?

514


What is array and its types in c#?

534


code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.

1780






What debugging tools come with the .NET ssSDK?

702


What is session and cookies in c#?

537


Name any three ways to pass parameters to a method in c#?

492


How to move to a state-related codebase?

904


What is an enumerator c#?

523


When can a derived class override a base class member?

527


What is serializable in c#?

504


Why data types are important in c#?

485


What is difference between comparable and comparator?

470


Explain the various types of classes used in c#?

511