Can we create instance for Abstract class?

Answer Posted / mohammed rafi

Its not possible to create a object for Abstract Class,
in that class atleast one method should be Abstract which
means dont have defination,if there is no defination its un-
complete class, when class is having all exiting methods
definations then only we can create the object.

Thumb role is abstract class incomplete class, we can
create object where class is completed.

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does dllimport not work for me?

751


What are the string functions in c#?

722


What are the different types of classes in c#?

688


Give some examples of commonly used i/o classes?

680


What is use of console?

665


How many classes are there in classification?

709


What happens if a static constructor throws an exception?

687


What is private readonly in c#?

710


What is uint c#?

655


To create a localized application which namespaces are necessary?

732


When should I use static in C#?

729


What are accessors?

701


What is static and use of it?

679


Explain more on CLR

922


What .exe means?

683