DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

About Nested Class, Inner Class and Anonymous Class


  • Concept about nested class: Nested Classes

  • Anonymous Classes explains how to construct a inner class with "instance initializer".

  • See a more detailed explanation in section 13.2 & 13.3 of Walter Savitch: "Absolute Java".

  • "Item 22: Favor static member classes over nonstatic" in Joshua Bloch: "Effective Java".

  • "Inner Classes" in section 6.6 of Jonathan Knudsen: "Learning Java", 3rd Edition.

  • Book III, chapter 7 "Using Inner Classes" in Doug Lowe: "Java All-In-One Desk Reference For Dummies", 2nd Edition.

  • Section "Inner Classes" of Bruce Eckel: "Thinking in Java" explains the relationship between inner classes and closure, callbacks.

  • Chapter 6 "Interfaces and Inner Classses" in Cay S. Horstmann: "Core Java: Fundamentals".



Published

Dec 4, 2012

Last Updated

Dec 4, 2012

Category

Tech

Tags

  • Java 106

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor