Can I Import Same Package/class Twice Will The JVM Load The Package Twice At Runtime

Can I Import Same Package/class Twice Will The JVM Load The Package Twice At Runtime


  • 29 Dec, 2011

    One can import the same package or same class multiple times. Neither compiler nor JVM complains about it. And the JVM will internally load the class only once no matter how many times you import the same class.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.