I had to buy this book for a class and frankly it is not a good book. Lots of code errors that make it confusing. Every one of my classmates complained about the book. The professor eventually told us to not use the book and he gave handouts he had written instead.