JAVA FOR STUDENTS

4TH EDITION

DOUGLAS BELL AND MIKE PARR

UPDATES, ERRATA

New - 5th edition

About this book

More books by us

Previous Editions

For Instructors(ppt etc.)

For Students

Contents

Preface

Updates, errors

Sample Chapters

Download Code

When installing Java from our CD, copy the file from the CD to your hard drive before running it. Failing to do this gives an 'out of space' error.

In the book, we supply v1.4 of the Java system. If you use our programs with 1.5, you get a warning about the deprecation of a show method, in the main method. The program still runs of course, but you might choose to replace show with setVisible, as in:


demo.show();             //1.4

demo.setVisible(true);   //1.5


p284 - example of indexOf. The code should read:

if (string1.indexOf(string2, 0) >= 0)

p288 - the while instruction should read:

while (place >= startSearch){