+ 1

What is the header file for scanner.

26th Sep 2020, 5:58 AM
Badal Arya
Badal Arya - avatar
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.
26th Sep 2020, 12:27 PM
Rei
Rei - avatar
+ 1
Wrong its import java.util.*;
26th Sep 2020, 12:22 PM
Badal Arya
Badal Arya - avatar
0
java.util.Scanner ?
26th Sep 2020, 6:02 AM
Rei
Rei - avatar