Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

Which of the following is correct statement?

A Boolean true value is 1 and false value is 0
B Every private class has a wrapper class
C Constant identifier precede with a reserved word final
D System.out.println() method also flushes the buffer
Answer & Explanation
Option: [C]

Constants are not directly supported by Java. The reserved 'Final' is used to declare constant.

Advertisement
Assam Direct Recruitment Test Series