What is the syntax of scanner class? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the syntax of scanner class?

7th Nov 2017, 11:44 PM
Tirtharaj D Roy
Tirtharaj D Roy - avatar
3 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
27th Dec 2017, 2:55 AM
Yuvraj Gaonkhowa
Yuvraj Gaonkhowa - avatar
+ 8
There is no syntax.
7th Nov 2017, 11:49 PM
qwerty
qwerty - avatar
+ 3
Same as any other class¿
7th Nov 2017, 11:51 PM
Rrestoring faith
Rrestoring faith - avatar