1. What technique did the story-writing program use to read strings from the keyboard?
2. Consider the following code that puts a Location into a bag, changes the name, and then tests whether the original name is in the bag. The Location class is from Figure 2.5 on page 67. What does the code print?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here