Java with BlueJ
Ron McFadyen, University of Winnipeg
Pub Date: 2016
Read This Book
Conditions of Use
The text covers the basic aspects of programming in Java including variables, assignment, control structures, arrays, class definitions, and several read more
The text covers the basic aspects of programming in Java including variables, assignment, control structures, arrays, class definitions, and several of the basic Java classes such as String, ArrayList, Random, Scanner, Math, and wrapper classes. In addition, it presents a brief introduction to GUI programming.
The content of the book is generally accurate with the exception of some typographical errors as noted below.
The Java features discussed in the book are not likely to change in the foreseeable future. The BlueJ features may not be as stable, but they are not likely to change in a way that would make the book unusable any time soon.
The text is written in a straightforward style. The material is presented in direct, concise sentences, generally avoiding excessive verbiage. There are occasional spots where perhaps a bit more explanation might be helpful, such as in the discussion of the use of the enhanced for-loop with arrays or the discussion of the meaning of the "static" keyword.
The text has a consistent point-of-view and use of language.
Many of the topics in the text are presented as self-contained units, though many of the later chapters build on material presented in earlier chapters. This is the usual practice in introductory texts in programming. There is some modularity within chapters, such as the presentation of conditional and iterative control structures. Some re-arrangement of chapters is possible after the first three. For example, arrays could be presented before ArrayLists, and the chapter on classes could be presented earlier.
The chapters follow a logical progression.
The text contains a great many typographical errors. Most of them are minor, but a few detract from the value of the text. For example, many of the tables contain incorrect symbols that could be confusing and misleading.
The text contains no grammatical errors.
The text does not appear to be culturally insensitive or offensive. Examples are limited to areas with which all students are likely to be familiar.
The text is appropriate for teaching beginning Java programming. It presents the basic material clearly and succinctly. There are clear, helpful explications of the meaning of most of the program examples. The text is less appropriate for teaching problem solving and program development. The strongest part of the text is the discussion of control structures in Chapter 3, as noted above. The weakest part is the discussion of Java class definitions in Chapter 7. It would be helpful to have more discussion of how one might go about developing a class and its methods. It would also benefit from illustrations directly from BlueJ of class relationships and what happens to objects when their internals are modified by methods.
Table of Contents
- 1 Introduction
- 2 Basics
- 3 Control Structures
- 4 Classes in the Java Class Libraries
- 5 ArrayLists
- 6 One-Dimensional Arrays
- 7 Designing Java Classes
- 8 A Brief Introduction to Graphical User Interfaces
About the Book
This book is Part I of a two-part set that introduces the Java programming language. The text assumes the student will be using the BlueJ development environment and provides some introductory BlueJ material. Our experience has been that BlueJ is easy to learn and provides a good programming environment for the beginner programmer.
About the Contributors
Ron McFadyen is a Professor in the Computer Science department at University of Winnipeg, Winnipeg, MB.