Skip to main content\(
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Chapter 2 Objects: Using, Creating, and Defining
After studying this chapter, you will
Objectives
-
Be familiar with using variables to store and manipulate simple data.
-
Be familiar with creating and using objects.
-
Understand the relationship between classes and objects.
-
Understand the difference between objects and data of primitive type.
-
Understand the difference between static and and instance elements of a class.
-
Be able to understand and design a simple class in Java.
-
Understand some of the basic principles of object-oriented programming.