Multiple Choice
Consider the following code snippet:
myImage.add(new Rectangle(10,10,10,10) ) ;
This code is an example of using ____.
A) an anonymous class.
B) an abstract class.
C) an anonymous object.
D) an abstract object.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q51: You wish to implement a callback method
Q52: What is the preferred way to implement
Q53: Assume that the TimerListener class implements the
Q54: Consider the following class: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg" alt="Consider
Q55: A _ has an addActionListener() method for
Q57: _ are generated when the user presses
Q58: Assuming that the ClickListener class implements the
Q59: To use an interface, a class header
Q60: If the user presses and releases a
Q61: Which of the following are not allowed