Multiple Choice
An interface may contain:
A) instance variables
B) primitive variables
C) constant variables
D) all of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: A class may only implement one interface.
Q4: The Comparable interface is in the _
Q5: If an inner class contains non static
Q6: The compiler and the run-time system enforces
Q7: An inner class definition is local to
Q9: A class that uses an interface must
Q10: A class that implements an interface but
Q11: The compareTo method should return _ if
Q12: Java interfaces are a way of simulating
Q13: A common use of inner classes is