A Java interface is an example of:
A) encapsulation
B) abstraction
C) polymorphism
D) all of the above
Correct Answer:
Verified
Q15: When defining an inner class to be
Q16: A class that uses an interface must
Q17: The compareTo method should return _ if
Q18: When using the clone method from an
Q19: A common use of inner classes is
Q21: What are the semantics of the Comparable
Q22: An interface can contain defined constants as
Q23: Java source code that contains a class
Q24: What are the rules of total ordering?
Q25: Why does Java only allow the inheritance
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