Почему Java не заменяет переменные правильно? Это вещь Java или я что-то упускаю? public class SwapVariables {
public static void main(String[] args) {
// you can declare multiple variables if they are from the same type, like this :
int a, b, c, d; //
Подробнее здесь: https://stackoverflow.com/questions/796 ... nt-stateme