0

java.util.*

I've seen many codes with the import java.util.* but idk what is it for. I've tried it in Eclipse but it said that it " doesn't allow it", so if anyone can give me some insight on this it'll be great!

25th Aug 2017, 11:14 AM
Ismail Yazini
2 ответов
+ 12
Pls refer to the official documentation: https://docs.oracle.com/javase/8/docs/api/java/util/package-summary.html Lists every class that is contained in the utility package. Most commonly used is probably the Collections class extend by Lists, Sets, Maps and so on.
25th Aug 2017, 11:28 AM
Tashi N
Tashi N - avatar
- 1
java.util.* is a package that can be imported in to a Java code for using some important features like Scanner, Random, Date, etc. Check out my Java codes and you will get some example of usage of java.util.Scanner.
25th Aug 2017, 3:07 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar