+ 1
What is the header file for scanner.
3 Antworten
- 1
* is wildcard. it means you import every class in java.util package.
meanwhile java.util.Scanner will only import Scanner class to your code. you can easily avoid class name conflict this way.
also judging by your answer, it seems like you're not genuinely asking for a help.
+ 1
Wrong its import java.util.*;
0
java.util.Scanner ?