0
Please I wanna ask each time I use the (.) In java to out put a variable from scanner it keeps telling me object not Identified
6 Answers
+ 1
6
+ 1
there nust be parentheses ()
import java.util.Scanner;
public class Program {
public static void main(String[] args) {
Scanner myvar=new Scanner(System.in);
String name=myvar.nextLine();
System.out.println("hello"+name);
}
}
0
typo at L
//myvar.nextline
myvar.nextLine
0
At what line please đ„ș
0
I've tried changing it it's not working,can you show me how exactly it's written
0
Thanks so much,I really appreciate it đ