Ask your own question, for FREE!
Computer Science 15 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!
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!