Hour 20. Using Inner Classes and Closures
THIS HOUR’S TO-DO LIST:
Add an inner class to an object.
Explore why inner classes are useful.
Create an anonymous inner class.
Use an adapter class with interfaces.
Learn why closures have been added in Java ...
Get Java™ in 24 Hours, Sams Teach Yourself (Covering Java 8), Seventh Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.