Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

Instantiating a Static Nested Class
The syntax for instantiating a static nested class is as much like a normal nested class its a very little different from a normal inner class,, we can see this code : 
class BigOuter {
static class Nested { }
}
class Broom {
public static void main (String [] args) {
BigOuter.Nested n = new BigOuter.Nested(); //Use both class names
}
}
Posted By: Name:Rajesh Kr URL: Instantiating a Static Nested Class