Multiple Choice
Two methods that are expected to be in all Java classes are:
A) getName and setName
B) toString and equals
C) compareTo and charAt
D) toLowerCase and toUpperCase
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: Write a method called power the computes
Q4: A _ states what is assumed to
Q6: In Java,call-by-value is only used with:<br>A)objects<br>B)primitive types<br>C)this<br>D)all
Q6: Discuss the importance of accessor and mutator
Q10: An invocation of a method that returns
Q10: The body of a method that returns
Q12: Accessor methods:<br>A)return something equivalent to the value
Q13: Discuss the public and private modifiers in
Q18: Add two constructors to the Appointment class
Q42: The Java language supports global variables.