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 / nagesh

answer is 110 because a+b print a+ and then +b so ans is 110 if u are print 11 the use (a+b)+ so the addition is performed

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What loop means?

902


How does arrays sort work in java?

957


What do you understand by the term wrapper classes?

941


Can I learn java without any programming experience?

980


How many types of voids are there?

919


How are destructors defined in java?

987


How can you handle java exceptions?

962


How do you check whether the list is empty or not in java?

920


Is void a data type?

900


Why we use multi threading instead of multiprocessing?

999


Name few java 8 annotations ?

969


Why constructor has no return type?

1054


What is reflexive association?

1690


What is number data type?

968


Why do we use return statement?

966