+ 1

Is java.util.scanner and java.util.* the same???

java

16th May 2017, 10:10 AM
Neil Bhowmik
Neil Bhowmik - avatar
2 Respuestas
+ 14
java.util.Scanner imports only Scanner class. * means importing ALL classes of java.util package like Date, ArrayList, Scanner and so on.
16th May 2017, 10:16 AM
Shamima Yasmin
Shamima Yasmin - avatar
+ 1
thanx
16th May 2017, 10:32 AM
Neil Bhowmik
Neil Bhowmik - avatar