if I import java.* so it will import java.awt also and java.util also?? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

if I import java.* so it will import java.awt also and java.util also??

16th Aug 2016, 2:54 PM
Ayush chadha
Ayush chadha - avatar
3 Antworten
+ 4
thank u all for your answers
17th Aug 2016, 5:31 AM
Ayush chadha
Ayush chadha - avatar
+ 1
no dont do tht i also did it with my lazyness and in result i got a ton of errors
16th Aug 2016, 3:08 PM
Suhail Pappu
Suhail Pappu - avatar
0
No it won't. It is a header file which only sets the compiler. And util(it imports utility for frames) and awt imports applets so diff. for diff. func.
16th Aug 2016, 4:32 PM
Shaikh Shaihzad Ahmed