Question 1:
- 在thinkingjava.chapter9.RandomWords.java 行号52 是如何创建输出十个字符串的?
Question 2: - 书中P232中提到,if语句不能作为字段初始化动作的一部分来执行,作何理解?
Answer:初始化块的代码被加入到子类构造器之前,父类构造器之后 所以书中说code that could not be executed as part of a field initializer(the if statement);
Question 3: - ArrayList为什么在使用foreach迭代的时候不能做删除操作?(在集合章节处理)