java.io is a package where io is for Input Output Streams. There are classes in this package, which can be used to handle data streams.
io means inputoutput package add in library
io.* means All classes and sub-packages inside io package,(it is similar to regex characters used commonly in sql or shell queries)