I was reading a book about making code cleaner and more readable.
The fact is that, looking at a code from the book, a Java package that ended with an asterisk appeared and they wrote it in this way import java.util.*
. I have always seen packages import java.util
ending in arraylist
, scanner
or date
.
My doubts are what does the asterisk indicate or mean? and what use is it?