目录
基础知识练习 ................................................................................................................................... 1
第一章练习题(Java入门) ........................................................................................................... 2
参考答案 ................................................................................................................................... 5
第二章练习题(数据类型和运算符) ........................................................................................... 6
参考答案 ................................................................................................................................. 11
第三章练习题(流程控制与数组) ............................................................................................. 12
参考答案 ................................................................................................................................. 18
第四章练习题(封装) ................................................................................................................. 19
参考答案 ................................................................................................................................. 25
第五章练习题(继承) ................................................................................................................. 26
参考答案 ................................................................................................................................. 32
第六章练习题(抽象类与接口) ................................................................................................. 33
参考答案 ................................................................................................................................. 40
第七章练习题(多态) ................................................................................................................. 41
参考答案 ................................................................................................................................. 47
第八章练习题(异常) .............................