masukan lama di java

Scanner input = new Scanner(System.in);
long num = input.nextLong();
Troubled Tamarin