Solved

Assuming a String Variable Named MovieTitle Has Already Been Declared

Question 33

Multiple Choice

Assuming a string variable named movieTitle has already been declared, which one of the following statements combines the strings "The " and "Hobbit" and then assigns the resulting string to the variable?


A) movieTitle("The ", "Hobbit") ;
B) "The " + "Hobbit" = moveTitle;
C) movieTitle = "The " & "Hobbit";
D) movieTitle = "The " + "Hobbit";

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents