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);
}
What are parsers? Dom vs sax parser.
Why Java doesn’t support multiple inheritance?
Is java programming easy?
How to convert string to byte array and vice versa?
What is use of inner class in java?
what is jndi?
How can we use primitive data types as objects?
Hi, This is ravi i have a question like this i have string "UNDERSTAND" now i want to count the letters how many times it occures.i.e from the above string the out put should be like this U-1,N-2,D-2,E-1,R-1,S-1,T-1,A-1. how can i achieve this Thnaks in advance for your response ..
What is jvm? Why is java called the platform independent programming language?
What is the declaration statement?
What happens if we override private method?
Is age a discrete variable?