Which is a valid declarations of a string? String s1 = null; string s2 = 'null'; string s3 = (string) 'abc'; string s4 = (string) '\ufeed';?
Answers
Answered by
0
Answer:
String s1 = null; string s2 = 'null'; string s3 = (string) 'abc'; string s4 = (string) '\ufeed';?.
Answered by
0
Answer:
string s2 = 'null';
Explanation:
A string must be enclosed in single/double inverted comma.
Similar questions
Math,
6 months ago
Chemistry,
6 months ago
English,
6 months ago
Business Studies,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago