What is the output of the following code? public class test { public static void main (string [] args) { string s1 = new string ("welcome to Java!") ; string s2 = s1.toUpperCase() ; if (s1 == s2) system.out

Respuesta :

Answer:

The complete question is attached as screenshot.

Output will be s1 and s2 have different contents.

Explanation:

Ver imagen hamzafarooqi188
ACCESS MORE
EDU ACCESS