Q. Which of the following does not compile?

  • (A) double num = 2.718;
  • (B) double num = 2._718;
  • (C) double num = 2.7_1_8;
  • (D) None of the above; they all compile
πŸ’¬ Discuss
βœ… Correct Answer: (B) double num = 2._718;

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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