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 nested top-level class?
Can we overload the main() method?
Explain different ways of creating a thread. Which one would you prefer and why?
What is an object’s lock and which object’s have locks?
What is set string?
How to add menushortcut to menu item?
Write a program to reverse a number in java?
What does this () mean in constructor chaining concept?
What is a variable and constant?
Explain try and catch keywords in java?
What all access modifiers are allowed for top class ?
What is the ==?
How can we create a synchronized collection from given collection?
what is difference between equals and ==?
What is binary tree in java?