Q. Choose a correct rule for using Underscores in literals of Java language.

  • (A) Underscores cannot come at the end of a number or next to the last digit of a number.
  • (B) Underscores cannot come at the beginning of a number or before the first digit of a number
  • (C) Underscores cannot come before or after a decimal point in real numbers like float and double.
  • (D) All the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All the above

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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