25th Apr 2021, 7:27 AM
GDW Lonewolf
GDW Lonewolf - avatar
8 Answers
+ 5
GDW Lonewolf There is L in nextLine() method.
25th Apr 2021, 7:28 AM
A͢J
A͢J - avatar
+ 4
KODER999 It's working fine bro because she had edited code after giving solution by me.
25th Apr 2021, 4:06 PM
A͢J
A͢J - avatar
+ 4
String h = myVar.nextLine(); System.out.println(h);
26th Apr 2021, 5:54 AM
Razan
Razan - avatar
+ 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); } }
26th Apr 2021, 11:14 AM
Bentameur Mohammed Ayoub
Bentameur Mohammed Ayoub - avatar
25th Apr 2021, 7:30 AM
GDW Lonewolf
GDW Lonewolf - avatar
+ 2
Buh what do you want the code to do. The code is basically printing what the user inputed
25th Apr 2021, 3:15 PM
KODER999
KODER999 - avatar
+ 1
It's working fine bro
25th Apr 2021, 3:14 PM
KODER999
KODER999 - avatar
25th Apr 2021, 5:53 PM
KODER999
KODER999 - avatar