View Single Post
  #1 (permalink)  
Old May 20th, 2004, 07:48 AM
Registered User
Join Date: May 2004
Location: , NY, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to DRAYKKO Send a message via Yahoo to DRAYKKO
Default Chapter 4 Errors?

I noticed a couple of errors while working through some of the samples in Chapter 4 of this book:

1. On page 123 the Unicode character \U03C0 doesn't generate Pi as the book says, but rather the character "?".

2. On page 125 the following code generates an error when I use the NetBeans editor:

   if(anyString == null)

The error is: non-static variable anyString cannot be referenced from a static context
        if(anyString == null)

Is there a site that lists Unicode characters and is there a correction for that "non-static..." error?


That which does not kill me makes me stronger