if I import java.* so it will import java.awt also and java.util also?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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