Suppose that we add the following method to the class SalesReporter
in Listing 7.4 so that a program using this class can access the sales
associates:
/** Returns an array of SalesAssociate objects. */
public SalesAssociate[] getSalesTeam()
{
return team;
}
Will this method compile and execute as indicated? Is adding this method
to the class SalesReporter a good idea?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here