
66 9 Chapter 4: The Languages of Mac OS X: Java
Java can be used to create applets~small programs that can be dis-
tributed over the Web and embedded in HTML. It can also be used
as a traditional programming language. In Mac OS X, a Java Vir-
tual Machine is included as part of the overall architecture so that
applets can run. FUrthermore, you can use Java as a programming
language for Cocoa.
This chapter provides a high-level look at Java, emphasizing some of
its similarities to and differences from other object-oriented pro-
gramming languages. As with the other chapters in this section, it
is no substitute for a complete language