java - about import statement -


i want know can check how many classes have been loaded class loader. want know, whether import statement in class * mark load many classes in perm area of heap? or when declare reference of specific type following 2 classes loaded?
ex.

map m = new hashmap(); //only these 2 classes loaded??? 

what if write import statement like

java.util.*; 

will class loader loads classes under java.util package? there class unloading process in java?

if want see classes loaded @ runtime try this:

java -verbose:class 

you should have question is there way classes classloader has loaded?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -