CH73 Java Software Solution Ch7_PP3 PP 7.3 Write a class called SalesTeam that represents a team of salespeople. Each salesperson on the team is represented by the SalesPerson class of PP 7.2. Each team has a name, and the constructor needs only to accept the name of the team. Use an ArrayList to store the team members. Provide a method called addSalesPerson that accepts a SalesPerson object. Provide a method called weeklyReport t.. 2024. 5. 1. Java Software Solution Ch7_PP2 PP 7.2 Create a class called SalesPerson that represents a salesperson in an organization. The SalesPerson class should have the name, the phone number, and the assigned district of a salesperson. Each salesperson acquires a certain sale amount every day. Provide a constructor that sets all instance values based on parameter values. Overload the constructor such that each daily sale amount for a.. 2024. 5. 1. Java Software Soution Ch7_PP8 PP 7.8 Write a Java interface called Lockable that includes the following methods: setKey, lock, unlock, and locked. The setKey, lock, and unlock methods take an integer parameter that represents the key. The setKey method establishes the key. The lock and unlock methods lock and unlock the object, but only if the key passed in is correct. The locked method returns a boolean that indicates wheth.. 2024. 5. 1. 이전 1 다음