Java class scanner. Сканер java пример. next line java. import java util scanner. sc.nextint в java.