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 is the difference between == and === javascript?

1089


What is data movement?

1062


Why is a string immutable?

936


What is the difference between superclass and subclass?

1082


What are the default and parameterized constructors?

1014


What checkbox method allows you to tell if a checkbox is checked?

945


Why string is immutable or final in java

1024


What is the independent variable in an experiment?

905


What is java util list?

875


What is flag in java?

923


Which is the best approach for creating thread ?

1135


How use .contains in java?

1119


What is the use of a conditional inclusion statement in Java ?

1032


What is the difference between a break statement and a continue statement?

986


What is finalize() function in java?

954