Java for Students - 3rd edition

Errata

We tried hard to find all the errors before the book went out - but a few got through. Here are the ones we know about.

They are mainly just typos.

page xxv, line -11

Robin should be Robert

page 35, line 6

"that" should be "than"

page 60, line 11

provide should be provided

pages 65 and 66

We say that when you create a new scrollbar that the last parameter is the maximum value. We were wrong.

When you do:

new Scrollbar(Scrollbar.HORIZONTAL, int value, int visible, int min, int max);

the supplied integers go from min to (max - visible). So, in the example, values go from 0 to 99 (not 0 to 100).

Page 87, lines 5 and 8

6 should be 7

page 105, line -12

+ , should be + a,

page 105, line - 9

+ , should be + b,

page 105, line -4

+ , should be + a,

page 105, line -3

+, should be + b,

page 122, line 10

delete count,

page 240 line 18

should be

{"Monday", "Tuesday", "Wednesday", "Thursday", "Friday",

"Saturday", "Sunday"};

page 323 line -4

replace , with .

page 425 line 17

delete sentence beginning "Currently the two"

page 599

the class outside Package1 sees just A (not A, B and C).

 

page 602, line - 12

delete to end of page