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


int a=1,b=10;
System.out.println(a+b--);

Answers were Sorted based on User's Feedback



int a=1,b=10; System.out.println(a+b--);..

Answer / nagesh

answer is 110 because a+b print a+ and then +b so ans is 110 if u are print 11 the use (a+b)+ so the addition is performed

Is This Answer Correct ?    2 Yes 5 No

int a=1,b=10; System.out.println(a+b--);..

Answer / anju

1 10

Is This Answer Correct ?    3 Yes 17 No

Post New Answer

More Core Java Interview Questions

What is regex in java?

0 Answers  


Can we declare Pointer in Java?

5 Answers  


Tell me about your ability to work under pressure

0 Answers   AXA,


Explain about the dynamic behavior of core java?

0 Answers  


What is a Presistent Object?

0 Answers   InfoAxon Technologies,


can I implement my own start() method? : Java thread

0 Answers  


methods in Applet?

1 Answers  


Why do we need wrapper classes?

0 Answers  


How would overload a function based on return type?

0 Answers   Genpact,


What are the application of stack?

0 Answers  


What kind of variables can a class consist?

0 Answers  


How are observer and observable used in java programming?

0 Answers  


Categories