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
Q9: In Java,call-by-value is only used with:
A)objects
B)primitive types
C)this
D)all
Q10: The name of a method and the
Q11: Accessor methods:
A)return something equivalent to the value
Q12: Java has a way of officially hiding
Q13: A program whose only task is to
Q15: When the parameters in a method have
Q16: In Java,a block is delimited by:
A). )
B).
Q17: The body of a method that returns
Q18: A more eloquent approach in implementing mutator
Q19: The parameter this refers to
A)instance variables
B)local variables
C)global
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