Authors' official companion web site
(Thanks to UW student Kaydee Smith for the correction!)
(Thanks to Technical University of Denmark professor, Jørgen Villadsen)
(Thanks to UW student Melanie Drake for the correction!)
main method is executed in turn, from first to last.
(Thanks to UW student Kaydee Smith for the correction!)
args is missing from the header to the main method. Appendix A on page 784 should also be corrected to match.
(Thanks to UW student Dan Quoc Hoang for the correction!)
207 / 10 is 20.7 on a calculator, so 207 / 10 evaluates to 20(Thanks to UW student Nicole Scharping for the correction!)
12 / 7 * 4.4 * 2 / 4 and 4.0 / 2 * 9 / 2 mistakenly occur twice. Appendix A on page 788 should also be corrected to match.
(Thanks to UW student Raevynn Leach for the correction!)
str2.toLowerCase().substring(9, 13) + str3.substring(18, str3.length() - 7)
(Thanks to CSU Stanislaus student Kristi Davis for the correction!)
(Thanks to UW student Brandon Dilbeck for the correction!)
System.out.printf call should be the following:
System.out.printf("%.2f%10.1f\n", angle, angle);
(Thanks to UW student David Li for the correction!)
printFactors method call should be the following:
1 and 2 and 3 and 4 and 6 and 8 and 12 and 24
(Thanks to UW student Steven Pell for the correction!)
(Thanks to UW student David Nufer for the correction!)
Most of the algorithms we have seen so for have involved sequential access.should be,
Most of the algorithms we have seen so far have involved sequential access.
(Thanks to UW student Alvaro Velez de Villa for the correction!)
Tally program line 11, the keywords new int should be colored brown.
(Thanks to Technical University of Denmark professor, Jørgen Villadsen)
The only change you would would have to make would be to allocate a larger array:should be,
The only change you would have to make would be to allocate a larger array:
(Thanks to UW student Liz Moffat for the correction!)
PascalsTriangle program line 16, the keyword int should be colored brown.
(Thanks to Technical University of Denmark professor, Jørgen Villadsen)
You might not specify every detail about the car,such as the fact that it should have four wheels and headlights,but you do specify some initial attributes that are important you.should be,
You might not specify every detail about the car,such as the fact that it should have four wheels and headlights,but you do specify some initial attributes that are important to you.
(Thanks to UW student Joseph Dunaravich for the correction!)
1: How many shares, at what price per share? 15 16.55
(Thanks to UW student Chun Yu Lai for the correction!)
System.out.println(1000000 + i + "\t" + count[i]);
(Thanks to UW student Nancy Do for the correction!)
System.out.println("element [" + i + "] is " + data[i]);
(Thanks to UW student Nancy Do for the correction!)
new . The line should read:
SUV s = new SUV();
(Thanks to UW student Ashlimarie Dong for the correction!)
(Thanks to UW student Matt Kipps for the correction!)
(Thanks to UW student Noa Piper for the correction!)
(Thanks to Technical University of Denmark professor, Jørgen Villadsen)
Have you found an error in our textbook? If so, please email us at:
![]()