+ 1
I bet you can't run it.
Try to run the program. https://code.sololearn.com/cacfDxD6H3Hi/?ref=app EDIT : The symbol was added by the java compiler or sth when I imported class with main in it. Every time the program is compiled, the symbol is added. The code above is edited. A code with the symbol is here: https://code.sololearn.com/cCoLCMydr68z/?ref=app
9 Answers
+ 9
import java.util.*;
//You shall not delete the symbol, mortal!!!
//btw, I really need help
public class display {
public static void main(String[]args){
Scanner sc = new Scanner(System.in);
}
}
Now it'll run
+ 9
@Alexander In your file. Without using Scanner sc = new Scanner(System.in); you cannot use the imported Scanner class!
+ 6
Absolutely you can use imported Scanner class
+ 6
@luka greek question mark....?
Why I feel like I see this some where?
+ 5
Yes, there is characters that are not recognized by Java and you should NEVER use it
+ 4
Ha ha
Some illegal string is in front of "import"
You might don't see it
Yes! you don't see it.
It's a magic~
+ 1
@Dayve
Did you really write this code in my file?
Or rewrote to another one, huh?
0
@Dayve
I changed it. What now? Does it run?
0
@luka
hah:)
Maybe the best is to write keyword or other words with partly shared chars from other langs, Russian for example
whilĐ”
fĐŸr
ŃlĐ°ss
dĐŸ