Which code fragment, when inserted at line n1, enables the code to print one?

Given the code fragment:

Which code fragment, when inserted at line n1, enables the code to print one?
A. char var = ‘1’;
B. String var = “1”;
C. int var = 1;
D. String var = 1;

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.