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 ...
Get A Student Guide to Object-Oriented Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.