+ 1

Why we have to import java.io* in some projects ?

4th May 2020, 2:01 PM
Samah Mamour
4 ответов
+ 5
java.io package pretty much contains all the classes that one would need to perform any input/output operations. File handling is the most common part of some projects.
4th May 2020, 2:10 PM
Avinesh
Avinesh - avatar
+ 1
Thank you so for help :)
4th May 2020, 2:30 PM
Samah Mamour
+ 1
Additionally it's important for you to know, that it's good style to import only what you really need and to avoid using asterisk in imports. At least in professional environment.
18th Jun 2020, 10:41 PM
Sandra Meyer
Sandra Meyer - avatar
0
Sandra Meyer thank you a lot cause i'm an absolute beginner with java so this kind of suggestions is really helpful for me :)
18th Jun 2020, 10:45 PM
Samah Mamour