Ch Ch 9: 9.4

Record your participation in Piazza clicker question Lesson16 Q1
Think about the Product and Toy classes from last lesson. Toy is a subclass of Product. Assume product is an object of the class Procuct and littlePeople is an object of the class Toy. Which of the following calls are legal? (May be multiple answers)
Record your participation in Piazza clicker question Lesson16 Q2
Product watch = new Product("Apple Watch", 300.00);
Record your participation in Piazza clicker question Lesson16 Q3
Add this code to the ToyTester
Product thing = rocket; System.out.println(thing.getAppropriateAge());
Will it compile?
Record your participation in Piazza clicker question Lesson16 Q4
Which of the following method calls are valid, given the declarations in ToyTester. Check all that are valid
Record your participation in Piazza clicker question Lesson16 Q5
You have a Product object reference, thing. thing actually references a Toy object (rocket). You want to know the appropriate age. What code can you use to do that?