Abstract class and constructor
Posted
by Amutha
on Stack Overflow
See other posts from Stack Overflow
or by Amutha
Published on 2010-04-12T15:24:55Z
Indexed on
2010/04/12
15:33 UTC
Read the original article
Hit count: 591
c#
|abstract-class
As abstract class can be instantiated ,still why constructor is allowed inside abstract class?
public abstract class SomeClass
{
private string _label;
public SomeClass(string label)
{
_label=label;
}
}
© Stack Overflow or respective owner