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 are the topics in advance java?

1036


How can u increase the heap size in the memory?

1071


How do you check if a string is lexicographically in java?

1001


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

2393


What is the meaning of course?

1147


a thread is runnable, how does that work? : Java thread

1099


How much ram can a 64 bit processor theoretically?

968


Can I import same package/class twice?

1012


What is t in parametric equations?

1043


Is hashset sorted in java?

1246


What is a class object?

1021


what is function overloading in java?

1367


Justify your answer that you can't define a method inside another method in java, if you can then how?

1274


What is the abstraction?

1067


What are internal and external variables?

1014