Terrible book, should be pulled from print.
This book appears to have been rushed through the
review process. Chapter 1 contains numerous cases
where sample code is repeated instead of showing
the output. There are references to appendices,
but the book has no appendices. I am in the
process of requesting a refund from publisher