Summary: Using Classes and Objects
Explore the fundamental concepts of using classes and objects in Java, including how to create and reference objects, work with strings, and use essential standard library classes such as Scanner, LocalTime, BigDecimal, and Random. Understand how to manipulate data and perform precise calculations using Java's core tools.
We'll cover the following...
We'll cover the following...
- The Java Class Library, which contains a collection of standard classes that we can use in our programs, is organized into packages of classes.
- We use the operator
newto create a new object of a class type. - A variable of a primitive data type contains the actual value of the data it represents. A variable of a class type contains a reference to the