+ 2

int number + char number=Bad anwser

as it says by the title, when im trying mix an char number and an int number together it gives an wrong anwser. simpel code here: char that = '4'; int guy = 14; System.out.println(that+guy);

26th May 2017, 7:03 PM
Sarah kerr
Sarah kerr - avatar
1 Réponse