Which of the following statements is not true for Java Language?

Which of the following statements is not true for Java Language?

  1. a) The number 1 can be used instead of the keyword 'true'
  2. b) Trying to store a fraction value in an 'int' datatype causes compile error
  3. c) Static members of a class can be accessed without creating objects of that class
  4. d) If not specified otherwise, the initial value of an integer variable is 0

From the Combined Bank Assistant Programmer (CSE) 2020 – Preliminary (DU) exam, question 33 of 47.

More from this paper