There’s actually 4; int, double, char and Boolean.
Really, there are more than 4, but those are the four that we've mentioned so far in CSC211. For the record, the others are byte, short, long, and float.
There are 8 primitive data types in java but the ones we learnt are Char,int,boolean,double for single character,integer, logical values and real numbers respectively!