Computer Science, asked by sushanthsuresh0209, 1 month ago

Which of the following is a valid Java Statement?
a) String s=’Johnson’ ; b)String s=”Johnson”;
c) String s=Johnson; d) int a=10.5;

Answers

Answered by sadaffatima301
0

Answer:

no it's all is not valid

Explanation:

because string car stored as

example:String xyz="HELLO WORLD";

Similar questions