static keyword in java
// example on static class in java.
import java.util.*;
public class OuterClass
{
// static class
static class NestedClass
{
public void show()
{
System.out.println("in static class");
}
}
public static void main(String args[])
{
OuterClass.NestedClass obj = new OuterClass.NestedClass();
obj.show();
}
}