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 81
Page 128
... interface of a class . Note that the interface does not show the source code that implements the class . If a class is well described ( that is , if its interface is well written ) then a programmer does not need to see the source code ...
... interface of a class . Note that the interface does not show the source code that implements the class . If a class is well described ( that is , if its interface is well written ) then a programmer does not need to see the source code ...
Page 304
... interfaces have a number of significant features : □ The key word interface is used instead of class in the header of the declaration . □ All methods in an interface are abstract ; no method bodies are permitted . The abstract key ...
... interfaces have a number of significant features : □ The key word interface is used instead of class in the header of the declaration . □ All methods in an interface are abstract ; no method bodies are permitted . The abstract key ...
Page 464
... interfaces interface Collection interface Iterator interface List interface Map interface Set class ArrayList class Collections class HashMap class HashSet class LinkedList This interface provides the core set of methods for most of the ...
... interfaces interface Collection interface Iterator interface List interface Map interface Set class ArrayList class Collections class HashMap class HashSet class LinkedList This interface provides the core set of methods for most of the ...
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