Interactive Quiz for Chapter 9

Question
Your Answer Result/Explanation
9.1
Write a statement to declare an object named x for an object type Circle using Circle's no-arg constructor.
9.2
Write a statement to declare an object named x for an object type Circle with radius 5.
9.3
Write a statement that copies c2 to c1. Both c1 and c2 are the objects of the Circle type.
9.4
Write an expression that returns the area of a Circle object c by invoking its getArea() function.
9.5
Write a statement that invokes the turnOff() function on TV object named tv.