© Iuliana Cosmina 2018
Iuliana CosminaJava for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-3778-6_5

5. Data Types

Iuliana Cosmina1 
(1)
Edinburgh, UK
 

In Chapter 4, a lot of Java code was written, but when designing classes, only the most simple data types were used: a few numeric ones and text. In the JDK, a lot of data types are declared for a multitude of purposes: for modelling calendar dates, for representing multiple types of numeric, for manipulating texts, collections, files, database connections, and so forth. Aside from JDK, there are libraries created by other parties that provide even more functionality. But the data types provided by the JDK are fundamental ones, the bricks every Java application is built from. Of course, depending ...

Get Java for Absolute Beginners: Learn to Program the Fundamentals the Java 9+ Way now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.