它实际上来自SCJP 6 StudyGuide Exam310-065(MGH,2008) alt text http://www.freeimagehosting.net/uploads/1f37466409.png alt text http://www.freeimagehosting.net/uploads/03aaff252a.png alt text http://www.freeimagehosting.net/uploads/b56385a448.png 替代文字 http://www.freeimagehosting.net/uploads/83761fff86.png
Kinder类构造函数中对super()的调用似乎是多余的,因为:
- 书中引用: alt text http://www.freeimagehosting.net/uploads/8984096dc6.png 即不需要显式输入 super() ,因为这可以由编译器完成
- 编译器接受非常好的版本而不调用super()
问题是,如果作者在这个问题上犯了一些错误,或者我错过了什么(更有可能)