20. If you do not initialize a string variable, it begins with a special value known as -----------------.
Group of answer choices
NA
blank
null
string
21. Which one of the following statements assigns the value contained in the Text property of a TextBox control named ageTextBox to the Text Property of a Label control named ageLabel?
Group of answer choices
b. ageTextBox.Text = ageLabel.Text;
d. ageTextBox = ageLabel;
c. ageLabel.Text = ageTextBox.Text;
a. ageLabel = ageTextBox;
22. Assuming a string variable named city has already been declared, which one of the following statements assigns the string value "Vienna" to the variable?
Group of answer choices
a. "Vienna" = city;
b. city + "Vienna";
c. city("Vienna");
d. city = "Vienna";
23. 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?
Group of answer choices
c. movieTitle = "The " & "Hobbit";
a. movieTitle("The ", "Hobbit");
d. movieTitle = "The " + "Hobbit";
b. "The " + "Hobbit" = moveTitle;
ANSWER 20
answer is null
ANSWER 21
The correct answer is
c. ageLabel.Text = ageTextBox.Text;
ANSWER 22
The correct answer is
d. city = "Vienna";
ANSWER 23
The correct answer is
d. movieTitle = "The " + "Hobbit";
Dear student we are directed to solve one question in case more than one questions are asked by the students you have asked 2 different questions which is wrong .we are directed to solve only the sub part of the question subject to maximum of 4 which is not the case and directed not to solve the multiple question.
Anyway, i have solved all of your questions.
don't forget to give rating.
Get Answers For Free
Most questions answered within 1 hours.