Chapter 4. Creating Java Classes
Terms you'll need to understand:
Access modifier
extends
implements
Local or “automatic” variable
Scope of variables
Default constructor
Techniques you'll need to master:
Constructing a class definition using the modifiers public, abstract, and final
Constructing definitions of classes that implement interfaces
Declaring methods using the modifiers public, private, protected, static, final, native, and synchronized, as well as understanding the consequences of using them
Declaring variables using the modifiers public, private, protected, static, final, volatile, and transient
Using variables declared inside code blocks
Differentiating between static, instance, and local variables
Understanding the circumstances governing ...
Get Java 2™ Programmer Exam Cram™ 2 (Exam CX-310-035) 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.