Java 1.4 Game Programming (Wordware Game and Graphics Library)

"There are too many people and too few human beings."—Robert Zend    

Introduction

In order to truly understand object-oriented programming, we must define our own classes and derive objects from them. In the previous chapter you created objects from a variety of string-related classes, accessing their methods and attributes. In this chapter you will learn the fundamentals of making your own classes, using inheritance and interfaces, and you will learn about the structure of classes in the Java language.

Note 

If you are not sure about classes in general, you may want to refresh your memory by returning to the beginning of Chapter 2 where we discussed some important aspects of classes in relation to their members and constructors and objects in general.

Категории