5Understanding Methods and Variable Scope
CERTIFICATION OBJECTIVES
• Pass Objects by Reference and Value
• Use the this and super Keywords
• Create Static Methods and Instance Variables
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 ...
Get OCA Java SE 8 Programmer I Study Guide (Exam 1Z0-808), 3rd 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.