O'Reilly logo

Java® 9 for Programmers, Fourth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8. Classes and Objects: A Deeper Look

Objectives

In this chapter you’ll:

Image See additional details of creating class declarations.

Image Use the throw statement to indicate that a problem has occurred.

Image Use keyword this in a constructor to call another constructor in the same class.

Image Use static variables and methods.

Import static members of a class.

Use ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required