Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
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?
✍: Guest
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.
2013-05-09, 1943👍, 0💬
Popular Posts:
What would you use to compare two String variables - the operator == or the method equals()? You can...
Can you explain in brief how can we implement threading ? Private Sub Form1_Load(ByVal sender As Sys...
What Information Is Needed to Connect SQL*Plus an Oracle Server? - Oracle DBA FAQ - Introduction to ...
What will be printed as the result of the operation below: main() { int x=20,y=35; x=y++ + x++; y= +...
How To Get the Minimum or Maximum Value of an Array? - PHP Script Tips - PHP Built-in Functions for ...