0
How to understand the packages in Java?
what is the basic difference between the following? 1) import Java.io.*; import Java io.input/output stream
2 Réponses
+ 1
in first statement: using * in import statement, imports all classes in that package(java.io).
second Statement : it import only particular class i.e. java.io.input/output stream
+ 1
Thanks brother