0
System.out.println (myVar.nextLine());
what is meaning of that code
7 ответов
+ 16
Means you're using the Scanner class to get input from the user. Use of nextLine() states that myVar is of String data-type!
Whatever the user will input, it will be displayed on the console.
+ 10
mean You read user input and show user input😊😊
https://code.sololearn.com/c6n6e9DE0XwV/?ref=app
+ 9
@R Prathibha
You can learn on lesson😄😄
+ 1
myVar is probably a scanner that is meant to read the user's input. I know that because of the function it's calling [nextLine()]
But it says that it should directly print out what the user has typed in
+ 1
thanku
+ 1
wt is the need to use scanner classes
0
k