Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


Question:Can I import same package/class twice?


A: 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.

asked Sep 13, 2013 in Java Interview Questions by anonymous
edited Sep 12, 2013
0 votes
22 views



Related Hot Questions



Government Jobs Opening


...