Question d’entretien chez Oracle

Difference between ClassNotFoundException and NoClassDefFoundError

Réponse à la question d'entretien

Utilisateur anonyme

15 juil. 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.