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

What is the difference between wrapper class and primitive?

459


What is boxing? Explain its functionality?

552


What is difference between array and arraylist in c#?

439


Explain hash table in c# ?

652


What is the advantage of generics in c#?

500






How does foreach loop work in c#?

476


What is the ouput of the following program?

556


Can you use all access modifiers for all types?

537


What are cshtml files?

482


How long can a string be c#?

506


Why do we need ienumerable in c#?

457


What is difference between assembly and dll?

473


What is dbcontext c#?

482


What are the steps for creating clr trigger

558


How long does it take to learn c# for unity?

476