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

Ans.11 b'coz based on operator precedence rule, -- ll works first and we get 10 for b (post decrement) and it ll add with 1 .

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object data type?

947


What is the major advantage of external iteration over internal iteration?

1034


What is the difference between import java.util.date and java .util?

1005


According to java operator precedence, which operator is considered to be with highest precedence?

1036


Can we serialize arraylist in java?

960


When does an object becomes eligible for garbage collection in java?

1008


how to deploy tomcatserver to weblogic server? write d following steps?

1914


What technique is carried out to find out if a particular string is empty?

974


How do you reverse sort a list in java?

897


How can we run a java program without making any object?

985


What are the advantages of autoboxing?

974


Why is string class considered immutable?

1003


What is an escape character in java?

979


What is java objectoutputstream?

935


How the interruptible method gets implemented?

915