Please create a class hierarchy for sports players


Please create a class hierarchy for sports players with the super class being the general player class and the subclasses containing more specific information about players in a specific sport. The Super class needs to contain general information including height weight age sex and yearly salary. The subclasses extending from the main class having specific information for that one sport. The main should create and test both subclasses.

Please write out the code in full; having the subclasses extend the main class. Please write out both sub-classes.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Please create a class hierarchy for sports players
Reference No:- TGS0101297

Expected delivery within 24 Hours