| Next Tip?
Home » Archive

Articles Archive for April 2010

General »

[29 Apr 2010 | No Comment | 215 views]

Yes, its possible to create constructors for Abstract classes. We can create Private, Public and Protected constructors for Abstract classes
Example:
Abstract class  myAbstClass
{
public myAbstClass()
{ }
private myAbstClass(int x)
{ //some implementation }
protected myAbstClass(string strX, string strY, int x)
{ //some implementation }
}
Tweet This Post

Get Adobe Flash playerPlugin by wpburn.com wordpress themes