String s1="nice"; String na = s1.toUpperCase()
Answers
Answered by
0
After Execution:
na = "NICE"
Answered by
1
Answer:-
Given,
String s1="nice"
String na=s1.toUpperCase();
Or,
na="NICE"
At first, s1 is converted to uppercase and then it is initialised in variable na.
So,
na="NICE"
Similar questions
Biology,
3 months ago
Hindi,
6 months ago
Computer Science,
6 months ago
Political Science,
11 months ago