Given the code fragment:
Which three code fragments can be independently inserted at line n1 to enable the code to print one?
A.
Byte x = 1;
B.
short x = 1;
C.
String x = “1”;
D.
Long x = 1;
E.
Double x = 1;
F.
Integer x = new Integer (“1”);
Given the code fragment:
Which three code fragments can be independently inserted at line n1 to enable the code to print one?
A.
Byte x = 1;
B.
short x = 1;
C.
String x = “1”;
D.
Long x = 1;
E.
Double x = 1;
F.
Integer x = new Integer (“1”);
ABF is correct
ABF