In the previous chapter a lot of Java code was written, but when designing the class only the simplest data types were used: a few numeric ones and texts. In the JDK a lot of data types are declared for a multitude of purposes: for modelling calendar dates; for representing multiple types of numerics; and for manipulating texts, collections, files, database connections, and so on. Aside from JDK, there are libraries created by other parties that provide even more functionality. The data types provided by the JDK are fundamental types, the bricks every Java application is built from. Depending ...
5. Data Types
Get Java 17 for Absolute Beginners: Learn the Fundamentals of Java Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.