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 the purpose of the System class?

1001


How many types of voids are there?

991


Explain the difference between treeset and treemap in java?

970


What is runtime polymorphism or dynamic method dispatch?

1006


What is the maximum size of array in java?

985


Can an interface implement another interface?

1030


How can you say java is object oriented?

1067


Is minecraft java edition free?

1119


What is encapsulation in java?

1112


What is finalize()? Is finalize() similar to a destructor?

965


Is alive method in java?

978


What is the primary benefit of encapsulation?

1085


What is the function of log?

995


What is the largest number a double can hold?

1045


Can a hashset contain duplicates java?

978