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

Tell me about different OOPS concepts.

1003


What does it mean to flush a file?

1069


What all methods are used to prevent thread execution ?

1034


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

1016


What are desktop procedures?

1045


What is yield () in java?

887


How are this() and super() used with constructors in java programming?

1063


How to Sort Strings which are given in List and display in ascending order without using java api.

4437


List out benefits of object oriented programming language?

897


Explain throw keyword in java?

1047


Why is it called buffering?

1125


What is the difference between notify and notifyall method?

1220


Define jit compiler?

1140


What is 32 bit float?

993


Which command from the jdk compiles a java program?

996