Solved

Assume That a Program Has the Following String Object Definition

Question 56

Multiple Choice

Assume that a program has the following string object definition: string name;
Which of the following statements correctly assigns a string literal to the string object?


A) name = Jane;
B) name = "Jane";
C) name = 'Jane';
D) name = (Jane) ;

Correct Answer:

verifed

Verified

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

Related Questions