Day 16. Using Inner Classes and Closures

Each new version of the Java language takes it further from its humble origins in 1995. When it was first released, Java had only 250 classes in the Java Class Library and was primarily used to put interactive programs on Web pages. These applets, as they were dubbed, brought something new to the Web and inspired several hundred thousand programmers to learn the new language.

Because the language was well-designed and offered some features that made it a worthy rival to C++ and other choices for software development, Java quickly outgrew its original focus to become a general-purpose programming language. Today it is the most widely implemented, popular language in the world.

There are millions of Java ...

Get Sams Teach Yourself Java™ in 21 Days (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.