O'Reilly logo

OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803) by Liguori Robert, Finegan Edward

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

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 ...

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