this week, after reviewing the interface, I learned about the use of internal classes.
An inner class is a class that is defined inside another class, and the outer class is called an outer class, and after learning the inner class, think about why you should learn the inner class, for three reasons:
1), the inner class method can access data in the scope where the class definition resides, including private data.
2), inner classes can be hidden and not seen by other classes in the same package.
3), if you want to define a callback function and do not want to write a lot of code, use anonymous internal analogy convenient.
The teacher in this part, listen to listen is also can, is to write code when feel not to know, the teacher with us to write once again, think can also, oneself write time and stuck, or to continue to accumulate the ability to write code.
201671010146 2017-2 <java Eighth Week sentiment >