Question: import java.io is never used?
Answer: The import java.io is never used is a warning which tells you that you use no functionality from java.io . That means you can delete the line import java.io.