πŸ“Š JAVA
Q. Which is the first line to trigger a compiler error?
Code:
double d1 = 5f; // p1
double d2 = 5.0; // p2
float f1 = 5f; // p3
float f2 = 5.0; // p4
  • (A) p1
  • (B) p2
  • (C) p3
  • (D) p4
πŸ’¬ Discuss
βœ… Correct Answer: (D) p4

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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