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);
}
Is java type safe?
Define locale.
Can java cast null?
What are the interfaces defined by Java.lang package?
What is jdbc api?
When do we use synchronized methods in java?
Difference between local and global transaction ?
Can we start a thread twice in java?
What happens if I remove static from main method?
what is finalmethod & final variable with example?
Which command from the jdk compiles a java program?
What exceptions occur during serialization?