Difference between prefix and postfix forms of the
++operator?
Answer Posted / ravikiran
prefix will increment first and assigns to the variable
postfix will assing the value to the variable and then
increments
| Is This Answer Correct ? | 21 Yes | 1 No |
Post New Answer View All Answers
What is flush () in java?
What are synchronized methods and synchronized statements in java programming?
How do you do absolute value in java?
What's the base class of all exception classes?
What is the difference between declaration and definition in java?
What is defined as false sharing in the context of multithreading?
What is yield () in java?
What is a java object and java application?
Can we define a package statement after the import statement in java?
How will you serialize a singleton class without violating singleton pattern?
In java, how we can disallow serialization of variables?
Why doesn't the java library use a randomized version of quicksort?
How do you check if a string is lexicographically in java?
How to make object serializable in java?
What are the methods to rectify ambiguities in the interfaces in JAVA?