10. Give the output for each of the following code snippets.
a) String a = “Programming in Java”, ;
String s1 = a.toUpperCase();
String s2 = a.toLowerCase();
System.out.println(sl);
System.out.println(s2);
Answers
Answered by
1
Answer:
sl = PROGRAMMING IN JAVA
s2 =programming in java
Answered by
0
Answer:
s1=programming in java
s2=programming in java
Similar questions