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 private class be inherited in java?
Why is String immutable?
What are the advantages of assembly language?
How to sort an unsorted array in java?
Why do we need singleton?
Define how can we find the actual size of an object on the heap?
What restrictions are placed on method overloading?
How can an object be unreferenced?
How many decimal places is a double?
How do you compare two objects?
How many bits is a 64 bit byte?
Is string is a data type in java?
Is java jre still free?
What is the difference between error and an exception?
What does 3 dots mean in java?