Search⌘ K

Introduction: Using Classes and Objects

Explore how to use classes and objects in Java, including creating objects with new, manipulating strings, handling dates, formatting numbers, and generating random values. Understand the difference between primitive types and class types to build a foundation for Java programming.

We'll cover the following...

Prerequisites

Objectives

After completing this chapter, you should be able to

  • Describe how a variable of a primitive type differs from a variable of a class
...