next up previous
Next: 1.10.1 Singleton Pattern Up: 1. From Scheme to Previous: 1.9 The Command Pattern

1.10 Static Members of Classes

In Section 1.2.8, we briefly discussed static methods because they are the only available mechanism in Java for defining methods that process primitive data.1.2 Static members (fields and methods) aren't very exciting because they lie outside the realm of object-oriented computation. But there are a few important aspects of computation that do not fit the object-oriented model which static member handle quite well. We will focus on static fields first.


Corky Cartwright