OCA Java SE 8 Mock Exam Review - OCA Mock Question 21








Question

Select all incorrect statements:

  1. A programmer can define a new primitive data type.
  2. Once assigned, the value of a primitive can't be modified.
  3. A value can't be assigned to a primitive variable.
  4. None of above




Answer



a, b, c

Note

A is a correct statement.

Java primitive data types are predefined by the programming language. They can't be defined by a programmer.