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 break and continue statement?

1092


How does map works in java?

994


How does arraylist work in java?

1116


Is array primitive data type in java?

997


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

1321


What is the difference between length and length() method in java?

1114


How does compareto method work?

962


What all access modifiers are allowed for top class ?

1186


how to open and edit XML file in Weblogic???

1969


What is gui programming?

1031


What is final method?

1066


What do you mean by ordered and sorted in collections in java?

992


What are different data structures in java?

1037


What is a treemap in java?

1009


Why does java not support operator overloading?

1136