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

Can we use this () and super () in a method?

978


How to obtain a performance profile of java program

1030


What are mutable classes?

1053


What will be the initial value of an object reference which is defined as an instance variable?

1146


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

942


When a byte datatype is used?

2198


Is null a string in java?

1069


How do you define a set in java?

1014


What is a instance variable in java?

1044


What are the types of java languages?

975


What are the advantages of java over C++?

1199


What does it mean that a class or member is final?

992


What do you mean by chromounits in java8?

953


What is a function in programming?

1040


Can I overload to string method

1441