What is abstract class ?

Answer Posted / rajkamal

Abstract class is a class,Which contains abstract methods
as well as Normal methods in it.

Abstract method is a method,Which are having only Method
header no Method Body (i.e No Defination).

These Abstract Methods should Override in Sub Classes.

Abstract Class is Not Instancible (i.e we can't create
Object for that class),why Because Abstract class is not
fully Defined.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are constants in c#?

552


What is difference between tostring() vs convert.tostring() vs (string) cast

534


What does void do in unity?

520


Define constructor in c#.

504


What is the use of 'using' statement in c#?

478






Define a jagged array in c#?

476


Is namespace necessary in c#?

484


Is javascript harder than c#?

503


Is array passed by reference in c#?

510


Are structs value types c#?

467


Explain types of comment in c# with examples

477


What is the difference between ienumerable and icollection?

462


What is the difference between Static, Const and read only?

529


What are extensions in c#?

529


Explain use of abstract and sealed classes in c#?

454