2 Answers
New AnswerHello RSB Maybe it will be clear if you see another example: System.out.println(5 + "hello"); output: 5hello Here happens the same when you put two strings together: "hello " + "world" -> "hello world" 1 + "1+1" the first one is just added to the string "1+1" so you get "11+1"
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message