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

Is java type safe?

0 Answers  


Define locale.

0 Answers  


Can java cast null?

0 Answers  


What are the interfaces defined by Java.lang package?

1 Answers  


What is jdbc api?

0 Answers  


When do we use synchronized methods in java?

0 Answers  


Difference between local and global transaction ?

1 Answers   Accenture, iFlex,


Can we start a thread twice in java?

0 Answers  


What happens if I remove static from main method?

0 Answers  


what is finalmethod & final variable with example?

6 Answers   HP,


Which command from the jdk compiles a java program?

0 Answers  


What exceptions occur during serialization?

0 Answers  


Categories