Solved

Assuming That a Program Has the Following String Object Definition

Question 7

Multiple Choice

Assuming that a program has the following string object definition, which statement correctly assigns the string literal "Jane" to the string object?
String name;


A) name = Jane;
B) name = 'Jane';
C) name = "Jane";
D) name = <Jane>;
E) string name = {Jane};

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions