1. Write the header and documentation for the PatronQueue method peek. Be sure to include any information about preconditions and exceptions that might be raised.
2. Jason claims the author of a method should be responsible for checking for violations of preconditions, whereas Sara counters that checking for violations is the user’s responsibility. Who is right, and why?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here