+ 3
Plz help (Java)
5 Réponses
+ 5
GDW Lonewolf
There is L in nextLine() method.
+ 4
KODER999
It's working fine bro because she had edited code after giving solution by me.
+ 4
String h = myVar.nextLine();
System.out.println(h);
+ 3
import java.util.Scanner;
public class Forg {
public static void main(String[] args){
Scanner myVar = new Scanner (System.in);
String input =myVar.nextLine();
System.out.println(input);
}
}
+ 2