i found some mistakes in Kathy Sierra
SCJP 1.6 book. i don't know were they printing mistakes or not. and please correct me if i am wrong because i am preparing for SCJP exam.
1. Page 458(Chapter 6) there is a line of code like:
name = c.readLine("%s", "input?: "); //#4 return a
String
Here "name" variable is not declared it should be like " String name = c.readLine("%s", "input?: ");
2. Page 533(Question no 8): answer says option C(10 0 10) is correct but i think option b(10 0 9) is correct. bec variable z is declared as transient and before we store other variable to file its value was 10 and when we read object back then its value must be reset to 9. not 10. correct me if i am wrong.
I am still reading the book and if i found anymore mistakes i will post it here if any one else found problems like above please post here. so we we all can correct it.