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 is run-time class and system class? what is their purpose?
What is singleton class in ruby?
What is the maximum length of a url?
Is Java a dying language?
Can static methods access instance variables in java?
What is the purpose of a statement block?
What does function identity () do?
What are the performance implications of interfaces over abstract classes?
What is the association?
What does the string method compareto () do?
what is struts-config-xml?and its use?
What is method overriding in java ?