Fundamentals of computing 1 - Lecture title: Inner class
Anonymous inner classes (anonymous classes) are probably the strangest feature of the Java programming language. An anonymous class is a class that’s defined on the spot, right at the point where you want to instantiate it. Because you code the body of the class right where you need it, you don’t have to give it a name. That’s why it’s called an anonymous class.
Các file đính kèm theo tài liệu này:
- lecture_14_inner_class_1794.ppt