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 does += mean coding?

897


What is data structure in java?

951


Define an applet in java?

1109


What is passing by reference in java?

981


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

989


What are static methods?

1005


Is alive method in java?

928


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

1219


Why java is considered as platform independent?

976


What is difference between final and immutable?

1100


What do you mean by inner class in java? Explain

1022


Can we create object of static class?

984


What are multiple inheritances? Is it supported by java?

905


Difference between collection, collection and collections in java?

965


Can we use this () and super () in a method?

940