ublic class Java_Coding_Samples {
public static void JavaHungr(NumberFormatException ae){
System.out.println("integer");
}
public static void JavaHungry(Exception e){
System.out.println("string");
}
public static void JavaHungry(ArithmeticException ae){
System.out.println("object");
}
public static void main(String[] args) {
JavaHungry(null);
}
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?
What is the difference between static method and instance method in Java?
0 Answers SwanSoft Technologies,
what questions are been asked ??? for interview in apti
What is sleep method?
Have you worked on bits programming? examples?What is bit? How many bits are there in the byte?
how is final different from finally and finalize in java?
What are java annotations?
Difference between method overloading and method overriding in java ?
Distinguish between a predicate and a function?
What is a consumer in java?
What is skeleton and stub? What is the purpose of those?
Which is the best sorting technique in java?