Ask your own question, for FREE!
Computer Science 11 Online
OpenStudy (javk):

In general in java, when do you use the following import statements a) import java.io; b) import java.*;

OpenStudy (e.mccormick):

Well, if you think about what the wildcard means, you can guess why it is avoided. But here is a little ore technical description on it: http://www.javaperformancetuning.com/news/qotm031.shtml

OpenStudy (harsha19111999):

You use that "*" so that all are included. For example, import java.*; includes all the java libraries. And where as import java.io; imports only th Input/Output API

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
23 hours ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!