Limited access

Upgrade to access all content for this subject

Which of the following declaration statements will correctly assign the String "calculus" to the variable named course?

I.    String course = calculus;
II.   String course = new String("calculus");
III.  String course = "calculus";
A

I only.

B

II only.

C

I and III only.

D

II and III only.

E

I, II, and III.

Select an assignment template