Oracle
1Z0-805 · Question #1
1Z0-805 Question #1: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-805 to reveal the answer and full explanation for question #1. The question stem and answer options stay visible for context.
Question
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/
Options
- Aint var = 0b_1001;
- Blong var = 0b100_01L;
- Cfloat var = 0b10_01;
- Dfloat var = 0b10_01F;
- Edouble var = 0b10_01;
- Fdouble var = 0b10_01D;
Unlock 1Z0-805 to see the answer
You've previewed enough free 1Z0-805 questions. Unlock 1Z0-805 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.