A class defined within the body of another class is known as a nested class, and the class that encloses it is known as its enclosing class. The scope of a nested class is bounded by the scope of its enclosing class. A nested class has unlimited access to the members of its enclosing class, even if they are declared as private. However, the enclosing class does not have access to the members of the nested class. When a nested class is declared as static, it is called a static nested class. Otherwise, it is called an inner class.
- Get certified in first attempt download master-ciw-enterprise-developer - Master CIW Enterprise Developer simulation.
- Pass SUN scbcd - SCBCD
- Click here to get free scdjws SCDJWS exam practice questions.
- Click here to get free scjp SCJP exam practice questions.
- Click here to get free scjp-5-0 SCJP 5/6 exam practice questions.
- Pass SUN scmad - SCMAD
- Pass SCWCD in first attampt.
- Download free practice test for 310-035 SCJP 2 exam.
- Download free practice test for SUN SCJP 1.4 Upgrade exam.
- Pass Java 5.0 in first attampt.
- Download free practice test for CX310-056 SCJP 5.0 Java Upgrade exam.
- Download free practice test for CX310-065 SCJP 6.0 exam.
- Click here to get free CX310-066 SCJP Upgrade exam practice questions.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
