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

Why we do exception handling in java and how many types of exceptions are there?

1048


How strings are created in java?

975


What is the difference between private & public & friendly classes?

1019


What is the purpose of interface?

950


What is a functional interface?

968


What is bubble sort in java?

991


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

2094


When does a class need a virtual destructor?

951


How do you use compareto method?

949


Explain treeset?

1051


What exceptions occur during serialization?

1037


This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }

942


What is a boolean in java?

1004


What is the difference between && and & in java?

1026


Can we clone singleton object in java?

967