Can I import same package/class twice? Will the JVM load the package twice at runtime?
By admin on Jul 31, 2007 in JAVA Interview Questions
One can import the same package or same class multiple times. Neither compiler nor JVM complains abt it. And the JVM will internally load the class only once no matter how many times you import the same class.


