Solved

Consider the Following Code Snippet: Public Interface Sizable

Question 37

Multiple Choice

Consider the following code snippet: public interface Sizable
{
Int LARGE_CHANGE = 100;
Int SMALL_CHANGE = 20;
Void changeSize() ;
}
Which of the following statements is true?


A) LARGE_CHANGE and SMALL_CHANGE are automatically public static final.
B) LARGE_CHANGE and SMALL_CHANGE are instance variables
C) LARGE_CHANGE and SMALL_CHANGE must be defined with the keywords private static final.
D) LARGE_CHANGE and SMALL_CHANGE must be defined with the keywords public static final.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions