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
Why is string builder not thread safe?
Is alive and join method in java?
What is an argument in java?
How does linkedlist work in java?
How are this() and super() used with constructors in java programming?
What restrictions are placed on method overriding in java programming?
Tell me about your ability to work under pressure
Explain thread life cycle in java?
Explain the transient field modifier?
Why is java logo a cup of coffee?
What are the limitations of procedural programming approach?
What is the difference between member variables initialization and assignment in a constructor?
In how many ways we can create threads in java?
What is the use of a copy constructor?
What is flush buffer?