0
Scanner myvar = new Scanner (System.in) Why is this used.
The value is assigned from this statement:- Var=myvar.nextLine()
1 Antwort
0
it is used to get the inputs in java
it works similar to scanf in C and cin in C++
The value is assigned from this statement:- Var=myvar.nextLine()