Is there any input function in Java?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there any input function in Java??

Input in java by input function...

3rd Jun 2020, 6:57 AM
The Black Hat 🇨🇦🇧🇩
The Black Hat  🇨🇦🇧🇩 - avatar
1 Answer
+ 1
There're public *Methods* in the class java.util.Scanner Initialize the class and you will have access to inputs to almost all primary data type. For more info, google a about the Scanner class Java
3rd Jun 2020, 7:13 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar