image
5
Understanding Methods and Variable Scope
CERTIFICATION OBJECTIVES
•    Create and Use Methods
•    Pass Objects by Reference and Value
•    Understand Variable Scope
•    Create and Use Constructors
•    Use this and super Keywords
•    Create Static Methods and Instance Variables
image   Two-Minute Drill
Q&A Self Test
This chapter will look at some of the details of methods and variable scoping. You are likely familiar with methods; this chapter will review the nuances of method and constructor creation. The effect of a static variable and method ...

Get OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803), 2nd Edition 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.