Question PRG-JAVA-0070
HardWhat is the output of: System.out.println(0.1 + 0.2 == 0.3);
- A.
true
- B.
false
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Java question
What is the output of: System.out.println(0.1 + 0.2 == 0.3);
true
false
Sign up free to see the answer and a step-by-step explanation.
0.3
Compilation error