Which three code fragments can be independently inserte…

Given the code fragment:

Which three code fragments can be independently inserted at line n1 to enable the code to print one?

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”);



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Sucuk

Sucuk

ABF is correct