employee might inherit class person data methods available parent class also appear child class names example class person might define variables first name last name method make full name also available class employee might add variables position salary technique allows easy use procedures data definitions addition potentially mirroring real world relationships intuitive way rather utilizing database tables programming subroutines developer utilizes objects user may familiar
Formal science Computer science Programming languages Object-oriented programming