+ 3
How to give input in my program?
I have found a problem of giving input in my program.
7 ответов
+ 9
import Scanner
+ 8
import java.util.Scanner;
Scanner var = new Scanner(System.in);
+ 8
import java.util.Scanner;
class MyClass {
public static void main(String[ ] args) {
Scanner myVar = new Scanner(System.in);
System.out.println(myVar.nextLine());
}
}
+ 7
I'm from Greece. (why is everyone asking the same lately??)
+ 3
can u pls explain me...by an example
+ 3
gooooood!!! and thanx dear
+ 3
u r from???