A class that uses an interface must use the keyword:
A) Extends
B) Inherits
C) Super
D) Implements
Correct Answer:
Verified
Q11: A class may only implement one interface.
Q12: Java interfaces are a way of simulating
Q13: Inner classes available outside the scope of
Q14: An interface may contain:
A)instance variables
B)primitive variables
C)constant variables
D)all
Q15: When defining an inner class to be
Q17: The compareTo method should return _ if
Q18: When using the clone method from an
Q19: A common use of inner classes is
Q20: A Java interface is an example of:
A)encapsulation
B)abstraction
C)polymorphism
D)all
Q21: What are the semantics of the Comparable
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents