import java.util.*;
public class JavaBasics {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String name = sc.next();
System.out.print(name);
}
}
Why am I getting yellow line in the sc. Getting error. i rewrote this code 3 times.