0

How do get input?

I'm trying to display a message on the screen, but here's an incomprehensible error https://code.sololearn.com/cXDBQS3vaMvW/?ref=app

9th Nov 2020, 6:00 PM
Operand
Operand - avatar
4 Respuestas
+ 1
insert a .nextLine after you print ‘jjj’
9th Nov 2020, 6:08 PM
Gizmo-Lang
Gizmo-Lang - avatar
+ 1
import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner jjj = new Scanner(System.in); System.out.println(jjj.nextLine()); } }
9th Nov 2020, 6:09 PM
Gizmo-Lang
Gizmo-Lang - avatar
0
seperate the ‘jjj’ and the = sign
9th Nov 2020, 6:06 PM
Gizmo-Lang
Gizmo-Lang - avatar
0
wait nevermind
9th Nov 2020, 6:07 PM
Gizmo-Lang
Gizmo-Lang - avatar