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 numeric string?
What is difference between throw and throws ?
Does isempty check for null?
What are the uses of synchronized keyword?
Explain public static void main(string args[]).
What is exception propagation?
What is the static keyword?
Does garbage collection occur in permanent generation space in jvm?
Can a static block throw exception?
What is assembly used for?
Should you use singleton pattern?
What is an image buffer?
What do you know about the garbage collector?
Which browsers work with java?
What is a parameter in matrices?