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);
}
Answer Posted / sasi
object.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What methodology can be utilized to link to a database?
What is the best way to findout the time/memory consuming process?
How do you read and print a string in java?
What is a boolean expression in java?
What is gui programming?
What’s a deadlock?
Explain the transient field modifier?
how to open and edit XML file in Weblogic???
Does isempty check for null?
What are the advantages of functions?
Can we compare two strings in java?
What is the use of parseint in java?
What is difference between jdk,jre and jvm?
What is tree node in java?
Is hashset ordered?