Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn Intermediate Java: Nested Classes

via Codecademy

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn about nested classes, encapsulation, and shadowing in Java.
Nested classes, classes that can be found within another class, allow programmers to rationally organize and group classes that may be closely related. One significant benefit of implementing nested classes in Java is that they provide an extra level of security by giving programmers the power to control the amount of access one class may have to another class and its methods.


* Implement static nested classes

* Implement non-static nested classes

* Shadow variables and methods

Syllabus

  • Nested Classes: Learn about nested classes in Java.
    • Lesson: Nested Classes: Lesson
    • Quiz: Nested Classes: Quiz
    • Project: Ice Cream Inventory
    • Informational: Next Steps

Taught by

Kenny Lin

Reviews

4.8 rating at Codecademy based on 6 ratings

Start your review of Learn Intermediate Java: Nested Classes

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.