Input and output from console using Scanner. Java 4 tutorial for beginners.

preview_player
Показать описание
Interesting Java course for beginners. Learn how to Input and output from console using Scanner.!!!

Рекомендации по теме
Комментарии
Автор

Very good. I'm watching every tutorial 1 thu the last :)

Huwarf
Автор

try typing ''import java.util.Scanner;'' between ''package tutorial.hello;'' and ''public class Tutorial4...''
I don't know how it got there but in the video it's there.
Hope this helped.

eathoskulfri
Автор

yah when "Scanner scanner = new Scan" then CTL+space is done, and the "Scanner(File arg0)..." is chosen [mine is on top of list] - then the import appears. so, i guess when we are hand coding we just need to know which imports to add.

fibo
Автор

Im having an error: Please Help :(

package tutorial.hello;

public class Tutorial4 {
public static void main(String[] args) {
Scanner scanner = new Scanner (System.in) ;

String entrada = scanner.next () ;
System.out.println("show what is scanned");


}
}

thecoolestful
welcome to shbcf.ru