Multiple Choice
Which of the following statements is correct?
A) Methods of an inner class can access instance variables from the surrounding scope.
B) If an interface variable refers to an object, then the object need not belong to a class.
C) It is illegal to have variables whose type is an interface.
D) Methods of an inner class cannot access final variables from the surrounding scope.
Correct Answer:

Verified
Correct Answer:
Verified
Q3: What is the nickname for the graphical
Q11: When drawing complex shapes, provide a(n) _
Q28: Which of the following statements about event
Q29: User-interface components are arranged by placing them
Q30: Consider the following code snippet:<br>Public static void
Q31: Which statement should be added to this
Q34: To draw an ellipse, you must include
Q35: Complete the following statement to construct a
Q36: When added to the code below, which
Q57: _ are generated when the user presses