
68 9 Chapter 4: The Languages of Mac OS X: Java
Its meaning is similar, and you can write it and use r t e
more or less as you would in the other languages, but by be-
ing declared as a reference type (Float) rather than a primitive
type (float) r r e will be an object in Java.
Everything Is an Object
Object Class
As you will see in Chapter 5, which covers Objective-C, class-
es in that language are themselves objects, and you can use
class methods and class variables as well as instance methods
and variables. Class objects are commonly capitalized, while
their instances are not. Thus in Objective-C
[Triangle allot] //Objective-C