Which Java package receives data from a till scanner | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Which Java package receives data from a till scanner

7th Jul 2018, 8:06 AM
Bheki Mautjana
Bheki Mautjana - avatar
3 Answers
+ 4
java.util.Scanner hope this is what you want
7th Jul 2018, 1:09 PM
AYUSH GUPTA
AYUSH GUPTA - avatar
+ 1
Have you used it for a counter till scanner? Because I'm familiar with that one you said
7th Jul 2018, 1:44 PM
Bheki Mautjana
Bheki Mautjana - avatar
0
import Java util. Scanner; it may be written at the top of the class name. And to give user interface we have to create name for scanner. scannername=newscanner(system.in) is the required line to take input
11th Jul 2018, 5:32 PM
Rakesh
Rakesh - avatar