Question: what is the difference between java.io and java.util?
Answer: if you import Java. util. ... if you import Java.io. * this means that you import all the classes of the input output package in the program.