Scanner s;
int a;
s = new Scanner(略)
a = s.nexInt();

みたいに変数宣言と処理がきっちりわかれてるのが
昔のC言語風な感じ。>>24の後者のは変態的に見える。