O'Reilly logo

Sams Teach Yourself Java™ in 21 Days (Covering Java 8), Seventh Edition by Rogers Cadenhead

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required