I’m looking through some of my friends Java and he’s currently asleep. I don’t have the JDK on my computer, and I’ve never touched Java in my life. What would be the value of checksum int this expression?
int score = 15;
String name = "Me";
String checksum = score + name + "salt";
//do stuff
It would be ’15Mesalt’
It simply adds the integer to the string as the number, no frills, nothing really fancy.