Question: java Part 10 In the ProBasketballPlayer class, create 3 different constructors: Constructor 1: 0-argument constructor that make use of the O-argument constructor in the Basket-

java
Part 10 In the ProBasketballPlayer 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 yearsInLeague to 0 and role to "bench" Constructor 2: 3-argument constructor (name, position, team) that makes use of the 3-argument constructor in the BasketballPlayer class and sets yearsInLeague to 0 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 11 In the ProBasketballPlayer class, implement a method called newContract Value which returns an int value based on the logic in the following table. 3 Role Value (using getValue()) Years in League 8 >= 10 >7 >= 8 >7 >= 5 > 5 >= 10 >= 5 Starter Starter Starter Starter Starter Starter Bench Bench Bench Bench Bench Return value 0 12,000,000 10,000,000 8,000,000 6,000,000 2,000,000 1,000,000 7,500,000 5,000,000 4,500,000 2,000,000 500,000 > 8 >7 >5 >= 10 >= 8 >= 10 >= 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
