+ 3
What is the syntax of scanner class?
4 Answers
+ 1
If you want to use a scanner in java then you have to add a header file before creating any class.
Check my code below.
https://code.sololearn.com/cLesf9e2p3eg/?ref=app
+ 8
There is no syntax.
+ 3
Same as any other classÂż