New course! Every coder should learn Generative AI!
Try a free lesson0
How can I use the ordre Scanner?
I do not know what the trouble in my code I do this: String Password =null; Scanner n=new scanner(system.in) ; Password=n.nextline();…
10 Answers
+ 1
اغاني حماس
There were many mistakes in your code.I have corrected all so see my attached code below.
https://code.sololearn.com/ciYOp01J9KsY/?ref=app
+ 2
What type of error are you getting?
+ 1
Please attach your code in this question
+ 1
اغاني حماس
Java is case sensitive so you must use the corresponding case according to the syntax.If you are a beginner then go and take the free java course here.
https://www.sololearn.com/Course/Java/?ref=app
0
Cannot find symbol
0
Okay
0
mport java.util.Scanner;
class MyClass {
public static void main(String[ ] args) {
System.out.println("Hello World");
System .out.println ("I will be a programmer");
String userName1=null;
String Password1=null;
/* enter your userName1 && your Password1 */
Scanner n=new scanner(system.in);
userName1 =n.nextline();
Password1 =n.nexrline();
}
}
0
Thank you man
0
Sorry but Iam. Not know my mistakes can you declare to me please
0
I am a beginner