A

Admin • 828.03K Points
Coach

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
  • Correct Answer - Option(D)
  • Views: 22
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.