Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+7 votes

is it import java.io.*?

asked in CSC211_Winter2018 by (1 point)

2 Answers

+2 votes

Yes. Don't forget that you also need to use "import java.util.*" to get the scanner as well.

answered by (1 point)
+2 votes

You also use "import java.util." to use random numbers. There is also "import java.awt." that you would need to use graphics in your program.

answered by (1 point)
...