OCA Java SE 8 Mock Exam Review - OCA Mock Question 21
Question
Select all incorrect statements:
- A programmer can define a new primitive data type.
- Once assigned, the value of a primitive can't be modified.
- A value can't be assigned to a primitive variable.
- None of above
Answer
Note
A is a correct statement.
Java primitive data types are predefined by the programming language.
They can't be defined by a programmer.