0
Integer.pareseInt()
What is the difference between System.out.print(Integer.parseInt(digits.substring(1,2) + digits.substring(0, 1))); and System.out.print(digits.substring(1,2) + digits.substring(0, 1));
1 ответ
+ 1
first one is an addition, it adds two numbers.
second one is a concatenation of two strings.