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 java ide should I use?

1045


What are methods of a class?

1080


Why local variables are stored in stack?

1039


How many bits is a boolean?

1132


Can you have two constructors in java?

1047


What is anagram in java?

974


Can we create our own wrapper class in java?

1014


List out five keywords related to exception handling ?

1058


Is alive and join method in java?

1259


Can we increase size of array?

1069


Can arraylist contain null values?

1068


What is included in core java?

1098


Which data type is a class in java?

1053


Is boolean a data type in java?

1015


What about abstract classes in java?

1108