Pregunta de entrevista de Oracle

Difference between ClassNotFoundException and NoClassDefFoundError

Respuesta de la entrevista

Anónimo

15 jul 2015

ClassNotFoundException :- Thrown when an application tries to load in a class through its name, but no definition for the class with the specified name could be found NoClassDefFoundError :- Thrown if the Java Virtual Machine tries to load in the definition of a class and no definition of the class could be found.