O'Reilly logo

Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition by Rolf W. Rasmussen, Khalid A. Mughal

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

Section 1: Declarations and Access Control

  • Declare classes, nested classes, methods, instance variables static variables, and automatic (method local) variables making appropriate use of all permitted modifiers (such as public, final, static, abstract, etc.). State the significance of each of these modifiers both singly and in combination and state the effect of package relationships on declared items qualified by these modifiers.

  • Identify legal return types for any method given the declarations of all related methods in this or parent classes.

Relevant Sections

Read Sections 4.2 “Defining Classes” and 4.3 “Defining Methods,” and all the sections from 4.5 “Scope Rules” till the end of the chapter. For inner classes, see Chapter 7. For method overriding, ...

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