Q. Choose the correct implementation of floating point literals in the exponential form in Java.

  • (A) float a = 12.0e2f; //1200.0
  • (B) float a = 100.0e-2f; // 1.0
  • (C) float a = 123.456e-21f; //1.23456E-19
  • (D) All the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All the above

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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