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
0
Answer:
no it's all is not valid
Explanation:
because string car stored as
example:String xyz="HELLO WORLD";
Similar questions