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.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment