Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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

Answer Posted / ranganathkini

The prefix ++ operator first increments the value by one and
then returns the new value.

The postfix ++ operator first returns the value and then
increments it.

Is This Answer Correct ?    36 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string array?

167


What is the difference between delete and delete[]

242


Can you extend singleton class?

189


What is a string what operation can be performed out with the help of a string?

164


Who found java?

164






Why is java architectural neutral?

229


What is a Presistent Object?

241


What are the access modifiers available in java?

211


What is a condition in java?

168


How do you find the absolute value?

176


You're given a Boolean 2D matrix, can you find the number of islands?

247


Can an unreferenced object be referenced again?

287


What is integer size in java?

182


Can a static block throw exception?

206


What is a ternary operator in java? What is an interface?

231