+ 2

Why the ouput of this code is: -32?

Why the ouput of this code is: -32? String str1 = "JAVA"; String str2 = "java"; Int n = str1.compareTo(str2); System.out.print(n);

27th Aug 2018, 11:32 AM
Luis Felipe Arroyave Valencia
Luis Felipe Arroyave Valencia - avatar
1 RĂ©ponse
27th Aug 2018, 12:19 PM
Mert Yazıcı
Mert Yazıcı - avatar