You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ch00.tex
+17-11Lines changed: 17 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -89,38 +89,39 @@ \section*{Changes to the 2nd edition}
89
89
90
90
We reordered the material in Chapter~1 to present a more interesting balance of theory and practice.
91
91
Chapters 2--3 are much cleaner now too.
92
-
The material on if statements and logic operators has been moved to Chapter 4 with additional in-depth examples.
92
+
The material on if statements and logic operators has been moved to Chapter 4, along with additional in-depth examples.
93
93
94
94
\item[Chapters 5--8:]
95
95
96
96
These chapters received the most attention.
97
97
We rearranged the content, added many examples and new figures, and removed unnecessary details.
98
98
Methods are now presented in a single chapter, and strings are covered earlier (before arrays) so that readers can apply them to loop problems.
99
-
The material on recursion was moved to its own chapter, and we added new sections to explain binary numbers in more detail.
99
+
The material on recursion is now a chapter, and we added new sections to explain binary numbers and CodingBat problems.
100
100
101
101
\item[Chapters 9--12:]
102
102
103
103
Our main goal for these chapters was to provide better explanations and more diagrams.
104
-
The content is largely the same, but it should be easier to understand now.
104
+
Chapters~9 and 10 focus more on immutable vs mutable objects, and we added new sections on BigInteger and StringBuilder.
105
+
The other content is largely the same, but it should be easier to understand now.
105
106
106
107
\item[Chapters 13--16:]
107
108
108
-
We balanced the amount of content in Chapters~13--14 by moving ArrayLists earlier.
109
-
Chapters~15--16 are brand new in this edition, and they cover more advanced topics like interfaces, polymorphism, and multi-dimensional arrays.
109
+
We balanced the amount of content in Chapters~13--14 by moving ArrayLists earlier, and we implement the ``War'' card game as another example.
110
+
Chapters~15--16 are brand new in this edition, and they cover more advanced topics including interfaces, polymorphism, and multi-dimensional arrays.
110
111
111
112
\item[Appendixes:]
112
113
113
114
We added Appendix~\ref{javadoc} to explain documentation comments and Javadoc in more detail.
114
115
%Most of the examples in the chapters do not include documentation comments to save space.
115
-
The other three appendixes, which were present in the first edition, have been revised for clarity and layout.
116
+
The other three appendixes that were present in the first edition have been revised for clarity and layout.
116
117
117
118
\end{description}
118
119
119
120
120
121
\section*{About the appendixes}
121
122
122
123
The chapters of this book are meant to be read in order, because each one builds on the previous one.
123
-
We also include four appendixes with material that can be read at any time:
124
+
We also include several appendixes with material that can be read at any time:
124
125
125
126
\begin{description}
126
127
@@ -132,17 +133,22 @@ \section*{About the appendixes}
132
133
\item{\bf Appendix B: Javadoc}
133
134
134
135
It's important to document your classes and methods so that other programmers (including yourself in the future) will know how to use them.
135
-
This appendix explains how to read documentation, how to write documentation, and how the Javadoc tool works.
136
+
This appendix explains how to read documentation, how to write documentation, and how to use the Javadoc tool.
136
137
137
138
\item{\bf Appendix C: Graphics}
138
139
139
140
Java provides libraries for working with graphics and animation, and these topics can be engaging for students.
140
-
The libraries require object-oriented features that readers will not completely understand until after Chapter~\ref{mutable}, but they can be used much earlier.
141
+
The libraries require object-oriented features that students will not completely understand until after Chapter~\ref{mutable}, but they can be used much earlier.
141
142
142
143
\item{\bf Appendix D: Debugging}
143
144
144
-
We provide debugging suggestions throughout the book, but we also collect our debugging advice in an appendix.
145
-
We recommend that readers review this appendix several times as they work through the book.
145
+
We provide debugging suggestions throughout the book, but we also have an appendix with many more suggestions on how to debug your programs.
146
+
We recommend that readers review this appendix frequently as they work through the book.
147
+
148
+
\item{\bf Appendix E: Extras}
149
+
150
+
With each new edition, we add new material, remove old material, and revise everything else.
151
+
Some of the old material may still be useful, so rather than delete it, we moved it to this appendix.
0 commit comments