What is Truncation in Java?
A. Floating-point value assigned to an integer type
B. Integer value assigned to floating type
C. Floating-point value assigned to a Floating type
D. Integer value assigned to an integer type
Answer: Option A
Related Questions on Data Types and Variables
Which of the following is not a valid identifier for a Java variable?
A. my_var
B. _myVar
C. 3rdVar
D. $var

Join The Discussion