Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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);

}



ublic class Java_Coding_Samples { public static void JavaHungr(NumberFormatException ae){ ..

Answer / sasi

object.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are parsers? Dom vs sax parser.

0 Answers  


Why Java doesn’t support multiple inheritance?

0 Answers  


Is java programming easy?

0 Answers  


How to convert string to byte array and vice versa?

0 Answers  


What is use of inner class in java?

0 Answers  


what is jndi?

1 Answers   TCS,


How can we use primitive data types as objects?

0 Answers  


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 ..

7 Answers  


What is jvm? Why is java called the platform independent programming language?

0 Answers  


What is the declaration statement?

0 Answers  


What happens if we override private method?

0 Answers  


Is age a discrete variable?

0 Answers  


Categories