1.

Is it possible to import the same class or package twice in Java and what happens to it during runtime?

Answer»

It is POSSIBLE to import a class or package more than once, HOWEVER, it is REDUNDANT because the JVM internally loads the package or class only once.



Discussion

No Comment Found