why should we get the following error ?
Exception in main method NoClassDefFoundError:classname
could anyone give the detail clarification on how java
compiler can look for .class file?
Answer Posted / narsimharaju
When we compile our java .class file then it is not available then we will get a runtime exception saying
NoClassDefFoundError:classname.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Can we have return statement in finally clause? What will happen?
How hashmap increases its size in java?
What environment variables do I need to set on my machine in order to be able to run java programs?
Can you pass by reference in java?
what is daemon thread and which method is used to create the daemon thread? : Java thread
What is the use of protected in java?
Can an object be null?
Explain about anonymous inner classes ?
How can a gui component handle its own events in java programming?
What is the functionability stubs and skeletons?
What is difference between static and final?
Difference between final and effectively final ? Why is effectively final even required ?
What is a generic data type?
How variables are stored in memory?
what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread