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
Is string a class in java?
Are functions objects in java?
What about anonymous inner classes in java?
How many wrapper classes are there in java?
What is a boolean in java?
Is java platform independent?
What is prime number in java?
In java, how many ways you can take input from the console?
How would you dynamically allocate memory to an array?
When we serialize an object does the serialization mechanism saves its references too?
What is method overloading and method overriding?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
Is linkedlist thread safe in java?
What does null mean in java?