Skip over navigation to the main content.

Core Java Series

Updates: Sixth Edition

Below you will find the updates and bug reports for Volumes 1 of Core Java, Sixth Edition (J2SE 1.4).

Volume 1

Page 144
The code for the Card class is misaligned. It should be
public class Card
{
   public Card(int aValue, int aSuit) { . . . }
   public int getValue() { . . . }
   public int getSuit() { . . . }

   private int value;
   private int suit;
}

Last Modified: 2002-10-28.

More Updates

Further Reading

Read Prentice Hall PTR to stay on the cutting edge of computer science and engineering.