O'Reilly logo

A Student Guide to Object-Oriented Development by Jill Doake, Carol Britton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11

The code

Learning outcomes

The material and exercises in this chapter will enable you to:

•. Understand a simple Java program

•. Understand how a class diagram maps onto a Java implementation

•. Understand how a sequence diagram maps onto a Java implementation

•. Follow the sequence of execution in a simple Java program.

Key words that you will find in the glossary:

• class declaration

• compiler

• constructor

• front end

• get method

• member variable

• method call

• reverse engineer

• self-referencing

• set method

Introduction

In this chapter we discuss the code written to implement the Wheels system. The object of this chapter is not to give you a crash course in programming, but to demonstrate how some of the models we have developed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required