Computer Science, asked by drpdpawar1, 3 months ago

Which one of the following statement correctly declares a variable with a
value of string type? *
1)var string myVar = "This is a string.";
2)
var myVar = "This is a string.";
3)string myVar = "This is a string.";
4)variable myVar = "This is a string.";​

Answers

Answered by avishchoudhary8830
2

Answer:

3 - string myVar = "This is a string.";

is the correct answer

Answered by upyum97
0

Answer:

Option -3) String myVar=''This is a string .";

pls mark me as brainliest- answer ?!-

and follow me and thanks pls

Similar questions