If a NoClassDefFoundError occurs when you run a program, what is the cause of the error?

Java Programming Language >   Managing Errors and Exception >   Compilation and Execution Process  

Short Question

1184


Answer:

Java interpreter cannot find the .class file. Make sure you placed the .class in the right place, and invoked java command with appropriate package name.


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.