Wednesday, 18 December 2013

Super use in methods 2009


Super:- The super keyword is used in a derived class to access the same method on its base class.
void method2()
{
;
// Call method2 method
// on the base class.
super();
}

1 comment: