Free
CourseLearn Intermediate Java: Nested Classes
Learn about nested classes, encapsulation, and shadowing in Java.
This course includes
This course includes
Skill level
IntermediateTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary1 hourProjects
1Prerequisites
1 courseWe suggest you complete the following courses before you get started with Learn Intermediate Java: Nested Classes:- Learn Java
About this course
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.
Skills you'll gain
Implement static nested classes
Implement non-static nested classes
Shadow variables and methods
Syllabus
Nested Classes
Learn about nested classes in Java.
Certificate of completion available with Plus or Pro
Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.
Earn a certificate of completion
Show your network you've done the work by earning a certificate of completion for each course or path you finish.- Show proofReceive a certificate that demonstrates you've completed a course or path.
- Build a collectionThe more courses and paths you complete, the more certificates you collect.
- Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.
Reviews from learners
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Join over 50 million learners and start Learn Intermediate Java: Nested Classes today!
Looking for something else?
Related resources
- Article
Java and the Command Line
A brief overview of running Java through the command line. - Article
Java Program Structure
Java programs have a specific structure. Let's take a closer look at the Hello World program — line by line! - Article
Arrays
Use this article as a reference sheet for JavaScript arrays.
Related courses and paths
- Free course
Learn Intermediate Java
Dive deeper into Java — one of the world’s most popular programming languages.Intermediate10 hours - Free course
Learn Java: Object-Oriented Programming
Explore classes and objects in this introduction to object-oriented programming with Java.Beginner Friendly3 hours - Free course
Learn C++: Classes and Objects
Sharpen your C++ skills by learning how to use C++ classes and objects to build more scalable, modular programs.Beginner Friendly1 hour
Browse more topics
- Computer Science5,574,185 learners enrolled
- Java1,141,006 learners enrolled
- Code Foundations7,124,152 learners enrolled
- Web Development4,762,543 learners enrolled
- Data Science4,281,023 learners enrolled
- Python3,459,484 learners enrolled
- For Business3,149,113 learners enrolled
- JavaScript2,773,236 learners enrolled
- Data Analytics2,279,404 learners enrolled
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.