O'Reilly logo

OCA Java SE 7 Programmer I Certification Guide: Prepare for the 1Z0-803 exam by Mala Gupta

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

Chapter 3. Methods and encapsulation

Exam objectives covered in this chapter

What you need to know

[1.1] Define the scope of variables. Variables can have multiple scopes: class, instance, method, and local. Accessibility of a variable in a given scope.
[2.4] Explain an object’s life cycle. Difference between when an object is declared, initialized, accessible, and eligible to be collected by Java’s garbage collection. Garbage collection in Java.
[6.1] Create methods with arguments and return values. Creation of methods with correct return types and method argument lists.
[6.3] Create an overloaded method. Creation of methods with the same names, but a different set of argument lists.
[6.4] Differentiate between ...

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