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 the use of :: in java?
Explain public static void main(string args[]).
What does java se mean?
What is javac used for?
What is the purpose class.forname method?
What does 0 mean in boolean?
Can finally block be used without a catch?
Can singleton class be serialized?
Is string is a keyword in java?
How many bytes is a string?
What is re-factoring in software?
What is assembly condition codes?
How do you define a set in java?
Why arraylist is not synchronized in java example?
What is Java Package and which package is imported by default?