Ch 8: 8.1-8.3
Ch 12: 12.1-12.3

Record your participation in Piazza clicker question Lesson13 Q1
We are simulating a public library with books that can be checked out and returned. Each book has an author and an indication of whether it is on the shelf. A patron can check out and return books. Which of these would be good classes. Check all that are appropriate
Record your participation in Piazza clicker question Lesson13 Q2
You are designing a class CreditCard as part of a credit card services program. Which of these methods would you include in the public interface to make the class cohesive? Check all that apply.
Record your participation in Piazza clicker question Lesson13 Q3
What is wrong with this method of the Book class? May be more than one answer
public void isOnShelf
{
if (onShelf)
{
System.out.println("The book is on the shelf");
}
else
{
System.out.println("The book is NOT on the shelf");
}
}
Record your participation in Piazza clicker question Lesson13 Q4
You are writing a Student class with instance variables studentID, name, gpa which is calculated in a updatGpa method.
Which instance variables should have both a getter and a setter? Check all that apply
Record your participation in Piazza clicker question Lesson13 Q5
Think of a pair of classes that demomstrate one of the types of relationships