Question 1 · 1
Which statement is true about primitive variables?
Choose one answer.
- They can be compared with the == operator.
- They can be compared with the equals method only.
- They cannot be compared.
- They can be compared with the compareTo method only.