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...

Difference between prefix and postfix forms of the
++operator?

Answer Posted / uday ray

They behave differently when they are used in expressions on
the right hand side of an assignment statement. A prefix
operator first adds 1 to the operand and the result is
assigned to the variable on left. On the other hand, a post
fix operator first assign the value to the variable on left
and then increments the operands.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an enumeration?

1120


What is unsigned char?

1129


What is the ==?

943


Can list contain null in java?

1142


How static variable work in java?

1189


Why call by value prevents parameter value change?

1125


What is the method in java?

1138


Explain inner classes ?

1171


What is thread pool in java with example?

1063


Can you override a final method?

1078


Define class?

1127


Can you call a method in a method?

1163


Why object class is super class for every class in java?

1082


What is difference between hashset and hashmap in java?

1069


What is a java developer salary?

1023