Diff. between Abstract Class and Interface

Interface has only the signature of method; but Abstract Class has can both that means, signture of method and definition of method.
Interface:
private interface inteface_name
{
void GetItem();
void GetProduct();
}


private abstract class class_name
{
void GetItem()
{

}
void GetProduct();
}

Comments

Popular Posts