What is the difference between a primitive class and primitive data type?

Viewed 8701

I am reading a book on Java, and they seem to use the two terms "primitive class" and "primitive data type" interchangeably.

What's the difference between the two? I understand that Integer is a wrapper class, and people reference int as a primitive data type. So is it also a primitive class?

2 Answers
Related