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 90
Page 41
... variables 41 2.13 Concept A local variable is a variable declared and used within a single method . Its scope and lifetime are limited to that of the method . Local variables The refund Balance method contains three statements and a ...
... variables 41 2.13 Concept A local variable is a variable declared and used within a single method . Its scope and lifetime are limited to that of the method . Local variables The refund Balance method contains three statements and a ...
Page 76
... variable display , titled static variables , instance variables , and local variables . We will ignore the static variable area for now . We will discuss static variables later , and this class does not have any . We see that this ...
... variable display , titled static variables , instance variables , and local variables . We will ignore the static variable area for now . We will discuss static variables later , and this class does not have any . We see that this ...
Page 91
... variable declaration as ElementType element . This section does indeed declare a variable that is then used for each collection element in turn . Before discussing further , let us look at an example of real Java code . Code 4.3 shows ...
... variable declaration as ElementType element . This section does indeed declare a variable that is then used for each collection element in turn . Before discussing further , let us look at an example of real Java code . Code 4.3 shows ...
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