If str1 and str2 are both String objects, which of the following expressions will correctly determine whether or not they are equal?

a. str1 = str2
b. str1 && str2
c. str1.equals(str2)
d. str1 += str2


c. str1.equals(str2)

Computer Science & Information Technology

You might also like to view...

A dataset is a copy of the fields and records the application can access from a database.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Presentation software has the capability of printing ________, which may provide space for note-taking

Fill in the blank(s) with correct word

Computer Science & Information Technology

A ____ is the structure that repeats actions while some condition continues.

A. decision B. loop C. branch D. block

Computer Science & Information Technology

A(n) ____ is an item used to change how the output stream of characters is displayed.

a. manipulator b. escape sequence c. string d. char object

Computer Science & Information Technology