Challenge for Type Conversion and Casting

Challenge

Here's the beginning of some code:

int flint = 5;
long kong = 1200L;
double trouble = 12345.67 ;
float boat = 12.05f;

Given the above code, which of the following assignment statements will work?

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]