The compareTo method should return _____________ if the calling object equals the parameter.
A) A negative number
B) Zero
C) A positive number
D) Null
Correct Answer:
Verified
Q2: An interface is a type.
Q10: You can not derive an interface from
Q13: An interface may contain:
A)instance variables
B)primitive variables
C)constant variables
D)all
Q15: When using the clone method from an
Q17: An interface and all of its method
Q19: In Java,a derived class can have _
Q20: 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
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