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

Answer Posted / shahsidhar

11

because b-- having post decrement operator that means
decrement operation will be done in the next statement i.e
after a+b-- statement execution.

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the disadvantages of indexes in oracle?

2644


How is treeset implemented in java?

1093


What is the purpose of finalization in java programming?

1077


Is java a super set of javascript?

1158


What are the six ways to use this keyword?

1117


Why super is first line in java?

1100


Why Java doesn’t support multiple inheritance?

1089


Explain the difference between static and dynamic binding in java?

1117


What are the types of collections in java?

1122


Why java is considered dynamic?

1225


What is replacefirst in java?

1175


Why can we not override static method?

1151


Is boolean a wrapper class in java?

1107


What is thread start?

1018


How do you sort words in java?

992