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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.