import java.io.*;
class Myclass
{
//Some programming code that does not call any java io package methods or variables
}
Is that program takes more memory or even worse affect performance of the software/app than the program that has no unused imports?
No, imports are a compile-time feature (they have no meaning in the compiled code). They do not affect runtime behavior.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With