Hour 20. Using Inner Classes and Closures

THIS HOUR’S TO-DO LIST:

Image Add an inner class to an object.

Image Explore why inner classes are useful.

Image Create an anonymous inner class.

Image Use an adapter class with interfaces.

Image 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.