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

Given:
11. public static void main(String[] args) {
12. Integer i = uew Integer(1) + new Integer(2);
13. switch(i) {
14. case 3: System.out.println(”three”); break;
15. default: System.out.println(”other”); break;
16. }
17. }
‘What is the result?
1 three
2 other
3 An exception is thrown at runtime.
4 Compilation fails because of an error on
line 12.

Answer Posted / james n saikay

Three

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does += mean in java?

1033


What is string pool in java?

990


What are controls and their different types in awt?

1045


What is derived datatype?

1175


I want to re-reach and use an object once it has been garbage collected. How it's possible?

979


What is the functionability stubs and skeletons?

1120


What will happen when using pass by reference in java?

956


Is special character in java?

1068


Explain about the dynamic behavior of core java?

1084


How do you use spaces in java?

963


What is multi-catch block in java?

1039


What is bubble sorting in java?

1008


What is your platform?s default character encoding and how to know this?

2337


What is n in java?

914


What is a class variable?

1008