Sunday, April 21, 2024

The Main Java Objects

     I was looking through an old Java book from college, based on Java version 5. In it it lists some of the main Java classes including wrapped data types. Java has had over a quarter century of use and spread and continues to exist. I defend the OO paradigm simply because it allows software to be described as the existence of objects rather than code. The main classes mentioned in this pocket guide are:

Boolean

Byte

Character

Cloneable

Comparable

DecimalFormat

Double

Float

Integer

Iterator (an interface)

Long

Math (mostly used for its static methods)

NumberFormat

Object (all classes extend from this)

Random

Scanner

Serializable (interface)

Short

String

System


Long may these reign it could be said. How many are out there? Java pairs well with Cobol as something to replace it.