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
Q12: Java interfaces are a way of simulating
Q15: What are the semantics of the Comparable
Q17: Why does Java only allow the inheritance
Q20: What are the rules of total ordering?
Q21: The Comparable interface is in the _
Q23: An interface and all of its method
Q23: You can not derive an interface from
Q24: In Java,a derived class can have _
Q25: A Java interface is an example of:<br>A)encapsulation<br>B)abstraction<br>C)polymorphism<br>D)all
Q31: Inner classes available outside the scope of