Computer Science, asked by sunnyka3141, 1 year ago

Difference between class def not found and class not found

Answers

Answered by pushpendrasingh206
0
ClassNotFoundException is an exception that occurs when you try to load a class at run time using Class.forName() or loadClass() methods and mentioned classes are not found in the classpath.


NoClassDefFoundError is an error that occurs when a particular class is present at compile time, but was missing at run time.

Hope it helps u...
Similar questions