let's you have 2classes Class A is the base classClass B is the derived classClass B:A is the syntax to inherit a base class
if two class named as base class and derived class the Syntex of inheritance is class derived : base{ body of class}
Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.
Copyright ©2003-2010 CoolInterview.com, All Rights Reserved. Privacy Policy | Terms and Conditions Page URL: http://www.coolinterview.com/interview/9103/default.asp?cachecommand=bypass