Objects First with Java: A Practical Introduction Using BlueJThe book has a very clear identity. It takes a truly objects first approach to teaching problem solving using Java. These are complicated concepts so the book uses the development environment BlueJ to help the student's understanding. BlueJ has a strong emphasis on visualization and interaction techniques, and allows the students to manipulate objects and call methods as a first exercise. BlueJ is free and freely available, and has been developed specifically for teaching. The book is loaded with projects so that the student can really get a grip on actually solving problems; and it takes a "spiral approach", introducing a topic in a simple context early on, then revisiting it later in the book to deepen understanding. It also comes with a CD containing JDK, BlueJ, a BlueJ tutorial and code for all the projects. The website contains style guide for all examples, PowerPoints for lecturers and also a Solutions Manual. |
From inside the book
Results 1-3 of 91
Page 68
... call to updateDisplay in the second constructor , for instance ? 3.11 Method calls 3.11.1 Concept Methods can call other methods of the ... methods of other objects using 68 Chapter 3 Object interaction Method calls Internal method calls.
... call to updateDisplay in the second constructor , for instance ? 3.11 Method calls 3.11.1 Concept Methods can call other methods of the ... methods of other objects using 68 Chapter 3 Object interaction Method calls Internal method calls.
Page 69
... Methods can call methods of other objects using dot notation . This is called an external method call . External method calls Now let us examine the next method : timeTick . The definition is : public void timeTick ( ) { minutes ...
... Methods can call methods of other objects using dot notation . This is called an external method call . External method calls Now let us examine the next method : timeTick . The definition is : public void timeTick ( ) { minutes ...
Page 79
... method of the same name , as long as each has a distinctive set of parameter types . □ internal method call Methods can call other methods of the same class as part of their implementation . This is called an internal method call . ☐ ...
... method of the same name , as long as each has a distinctive set of parameter types . □ internal method call Methods can call other methods of the same class as part of their implementation . This is called an internal method call . ☐ ...
Contents
Understanding class definitions | 17 |
Object interaction | 52 |
Grouping objects | 81 |
Copyright | |
12 other sections not shown
Common terms and phrases
abstract class AddressBook Animal application array ArrayList autoboxing BlueJ boolean buttons chapter checked exception class diagram client ClockDisplay code duplication collection command CommandWord compiler components Concept constructor Contact Details contains CRC cards create Database debugging declared defined discussed display documentation error example executed Exercise exits field Figure filter for-each loop HashMap ImageViewer implementation inheritance inner classes input instance integer interface iterate Java javadoc look menu item method call Michael Kölling mutator methods null NumberDisplay object diagram param parameter passenger pickup print method private int problem public class public void random refactoring responsibility-driven design return type scenario server shown in Code simulation single source code statement static String subclass superclass System.out.println taxi test class text terminal ticket TicketMachine variable vehicle write