+ 1
console class in java
I have taken this code from internet and checked all the statements but still it is showing some unusual error for console class. https://code.sololearn.com/cYFAfc8c2pos/?ref=app
1 Answer
+ 10
your importing the console class but then you have called your class the same name as the console class so theres conflict why not import scanner instead ?