O'Reilly logo

Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition by Rolf W. Rasmussen, Khalid A. Mughal

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

1.8. Tenets of Java

  • Code in Java must be encapsulated in classes.

  • There are two kinds of values in Java: object references and atomic values of primitive types.

  • References denote objects that are created from classes.

  • Objects can only be manipulated via references.

  • Objects in Java cannot contain other objects; they can only have references to other objects.

  • Deletion of objects is managed by the runtime system.

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