The built-in data types are not classes, but you can certainly define classes to hold particular data types and either provide those with the desired functionality or create subclasses if there are multiple types of functionality you want on the same base. Indeed, OO inherently expects to use ADTs, abstract data types such as currency, which is more than just an integer or decimal.