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

U see 'a' and 'b' are integer type so they will be added.
if it had been char then the answer would be 111.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between == equals () and compareto () method?

999


What is the difference between super class & sub class?

1124


What are pass by reference and pass by value?

957


Can you add null to a list java?

1015


What is the difference between the prefix and postfix forms of the ++ operator?

989


What is object-oriented paradigm?

1025


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

920


Explain different ways of creating a thread. Which one would you prefer and why?

1002


What does 3 dots mean in java?

944


How many types of array are there?

966


What is the advantage of OOP in java?

1097


What is an example of procedure?

985


What is number data type?

987


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

958


What is super constructor?

966