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
What is a ternary operator in java?
Is empty set an element of empty set?
Can we define constructor in inner class?
Explain an intermediate language?
What is float in java?
What is null mean in java?
What is arrays aslist in java?
what is bmg file and how to create that files?what will it contailn?
What is private public protected in java?
Why we use set in java?
How we create object in copy constructor?
What do you understand by abstract classes?
What is volatile data type?
What do you understand by looping in java? Explain the different types of loops.
What are anonymous inner classes?