What is the header file for scanner.
* 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.
Wrong its import java.util.*;