0
Why when I put this code it just doesnt work like question page tells me to do.
import java.util.Scanner; class MyClass { public static void main(String[ ] args) { Scanner sc = new Scanner (System.in); String A = sc.nextline (); System.out .println(A) ; } } // I want to get an input to A and it doesnt let. And question page said its right
2 odpowiedzi
+ 1
Capitalize 'l' in sc.nextline.
0
Thank you