3

Assignments

CERTIFICATION OBJECTIVES

    •    Use Class Members

    •    Understand Primitive Casting

    •    Understand Variable Scope

    •    Differentiate Between Primitive Variables and Reference Variables

    •    Determine the Effects of Passing Variables into Methods

    •    Understand Object Lifecycle and Garbage Collection

    image  Two-Minute Drill

Q&A Self Test

Stack and Heap—Quick Review

For most people, understanding the basics of the stack and the heap makes it far easier to understand topics like argument passing, polymorphism, threads, exceptions, and garbage collection. In this section, we’ll stick to an overview, but we’ll ...

Get OCA/OCP Java SE 7 Programmer I & II Study Guide (Exams 1Z0-803 & 1Z0-804) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.