Question: code in java Part 6 In the College BasketballPlayer class, create 3 different constructors: Constructor 1: 0-argument constructor that make use of the O-argument constructor

 code in java Part 6 In the College BasketballPlayer class, create

code in java

Part 6 In the College BasketballPlayer class, create 3 different constructors: Constructor 1: 0-argument constructor that make use of the O-argument constructor in the Basket- ballPlayer class and sets eligibilityRemaining to 4 and role to "bench" 2 Constructor 2: 3-argument constructor (name, position, team) that makes use of the 3-argument constructor in the BasketballPlayer class and sets eligibility Remaining to 4 and role to "bench" Constructor 3: 10-argument constructor that receives all argurments and makes use of the 8-argument constructor from the BasketballPlayer class Part 7 In the College BasketballPlayer class, add a method called draftable which returns true (boolean) if the player is a "starter (role) whose value is greater than 4 or is a "bench" player (role) whose value is at least 8. Part 8 In the College BasketballPlayer class, create a new toString method which return a String containing all the information from the toString method of the BasketballPlayer class along with the eligibility Remaining and role values for the player. Part 9 Create a class named ProBasketball Player that extends Basketball Player. The class with two private instance variables: yearsInLeague (int) role (String) Get and set methods should be created for each variable. Part 6 In the College BasketballPlayer class, create 3 different constructors: Constructor 1: 0-argument constructor that make use of the O-argument constructor in the Basket- ballPlayer class and sets eligibilityRemaining to 4 and role to "bench" 2 Constructor 2: 3-argument constructor (name, position, team) that makes use of the 3-argument constructor in the BasketballPlayer class and sets eligibility Remaining to 4 and role to "bench" Constructor 3: 10-argument constructor that receives all argurments and makes use of the 8-argument constructor from the BasketballPlayer class Part 7 In the College BasketballPlayer class, add a method called draftable which returns true (boolean) if the player is a "starter (role) whose value is greater than 4 or is a "bench" player (role) whose value is at least 8. Part 8 In the College BasketballPlayer class, create a new toString method which return a String containing all the information from the toString method of the BasketballPlayer class along with the eligibility Remaining and role values for the player. Part 9 Create a class named ProBasketball Player that extends Basketball Player. The class with two private instance variables: yearsInLeague (int) role (String) Get and set methods should be created for each variable

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!