What happens if we load already loaded class again?

Posted by GK on Stack Overflow See other posts from Stack Overflow or by GK
Published on 2010-03-18T20:25:56Z Indexed on 2010/03/18 20:31 UTC
Read the original article Hit count: 103

Filed under:

I mean we have a class which is already loaded in JVM. and in some other method we are unknowingly trying to load that same class, So in this situation what happens? ie will there be any error or exception saying its already loaded. If not, then is it possible that we can have modified class with some extra features and load it whenever it is required that is Hot Deployment.

© Stack Overflow or respective owner

Related posts about java