Given the following code fragment:public class Calc {public static void main (String [] args) {//* insert code here Line **System.out.print("The decimal value is" + var);Which three code fragments, when inserted independently at line **, enable the code to compile/
A. int var = 0b_1001;
B. long var = 0b100_01L;
C. float var = 0b10_01;
D. float var = 0b10_01F; E. double var = 0b10_01; F. double var = 0b10_01D;
Given the following code fragment:public class Calc {public static void main (String [] args) {//* insert code here Lin
-
- Site Admin
- Posts: 899566
- Joined: Mon Aug 02, 2021 8:13 am