Sport Management project inheritance
A sports management system can help in organizing and planning sports activities. An effective and efficient sport management project can result in prosperous sports operations. The concept of inheritance can be used in sport management project to make it more robust, portable and efficient. Inheritance is where children classes or sub classes are derived from the parent class. In sport management project, many classes can be formed to make the system more effective as more repetitions of similar codes are avoided.
A class Sport can be used as a parent class and class Teams, class Referees, class Managers can be created as a sub-classes. Classes Referees, class Teams, and class Managers can inherit some of their attributes from the class Sport, which is a parent class.
Comments
Leave a comment