Q. Choose the correct statement about Java Prefix and Postfix operations.

  • (A) Prefix operation is carried out immediately and the variable value will be incremented or decremented accordingly
  • (B) Postfix operation is carried out on the next line or statement. So the variable value will not change.
  • (C) Both A and B
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both A and B

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
2386
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
98%
Success Rate