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

B

Computer Science & Information Technology

You might also like to view...

When you click the Shapes button and start to drag the mouse pointer to position the shape, the mouse arrow changes to a:

A) cross-hair pointer. B) four-headed arrow. C) double-headed arrow. D) plus sign.

Computer Science & Information Technology

When viewing a thumbnail of a page, revision marks and comments also show

Indicate whether the statement is true or false

Computer Science & Information Technology