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

}

Answer Posted / sasi

object.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain multi-threading in java?

962


What is the difference between stream and buffer?

924


What are the four versions of java?

965


What carriage return means?

909


What is meant by tab pans?

1132


what is the significance of listiterator in java?

1027


Explain heap sort?

1043


What is a instance variable?

1012


What are the library functions in java?

979


What is a local class in java?

988


Is age a discrete variable?

917


what is object slice?

2000


Explain the importance of join() method in thread class?

1051


Will the jvm load the package twice at runtime?

1043


What is the reason behind using constructors and destructors?

1003