Solved

Assuming a String Variable Named City Has Already Been Declared

Question 48

Multiple Choice

Assuming a string variable named city has already been declared, which one of the following statements assigns the string literal "Vienna" to the variable?


A) "Vienna" = city;
B) city + "Vienna";
C) city("Vienna") ;
D) city = "Vienna";

Correct Answer:

verifed

Verified

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

Related Questions