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

Write a java program to check if a number is prime or not?

0 Answers  


Can private method static?

0 Answers  


what is use of session tracking ?with example?

1 Answers   Photon,


Is set ordered?

0 Answers  


Can a class extend abstract class or interface? why

4 Answers   Wipro,


Why is a string immutable?

0 Answers  


How does arraylist work in java?

0 Answers  


How to create an instance of a class without using "new" operator? Plz help me out properly.Thank u.

10 Answers   CSC,


Is delete, next, main, exit or null keyword in java?

1 Answers  


What is the difference between final, finally and finalize() in java?

0 Answers  


Why java applets are more useful for intranets as compared to internet?

0 Answers  


What is the use of toarray () in java?

0 Answers  


Categories