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:
Verified
Q28: A variable of the _ data type
Q29: A(n) _ control is a rectangular area
Q30: The order in which controls receive the
Q31: Which one of the following statements clears
Q32: A(n) _ is a storage location in
Q34: Which one of the following statements assigns
Q35: Inside a method, a variable's declaration statement
Q36: A common operation performed on strings is
Q37: A(n) _ specifies a variable's name and
Q38: Which one of the following is the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents