What is an Abstract Class ?
Abstract class in C# is a class that having the keyword as abstract and this class may have abstract methods. It is a mechanism to show only relevant data.
Is Abstract class can be instantiated ?
No, Abstract class cannot be instantiated.
Whether abstract class can be derived ?
Yes Abstract class be derived and all the abstract class should be defined in the derived class.
Write the syntax for abstract class.
abstract class ClassName{
// to do ; class definition
}
Comments
Post a Comment