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 is java dot?

1007


Can java arraylist hold different types?

1151


What does those terms actually mean included in the j.d.k i.6?

2173


Does treeset use compareto?

1024


How do you create a reference in java?

1024


how to open and edit XML file in Weblogic???

2012


What are the basic concepts of OOPS in java?

1087


In which order the iterator iterates over collection?

1026


Can an integer be a string?

1149


Can an object be null?

1012


Explain the private protected method modifier?

1029


Can we have multiple catch block for a try block?

1066


What occurs when an object is constructed?

1062


'A class is a template for an object' explain this statement.

1099


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

1078