25th Apr 2021, 7:27 AM
GDW Lonewolf
GDW Lonewolf - avatar
5 odpowiedzi
+ 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