Which statement is true about primitive variables?
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.
Submit