A
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
double d2 = 5.0; // p2
float f1 = 5f; // p3
float f2 = 5.0; // p4
- Correct Answer - Option(D)
- Views: 22
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.