Q. What is the result of the expression 7 / 0 in Java?

  • (A) It causes a runtime exception.
  • (B) NaN (Not-a-Number)
  • (C) 7
  • (D) 0
πŸ’¬ Discuss
βœ… Correct Answer: (A) It causes a runtime exception.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
213
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Bhagwan Das
Publisher
πŸ“ˆ
97%
Success Rate