An Inner Class or Non-Static Nested Class looks like this:

class OuterClass {
	
	class InnerClass {
		
    }

}

To emphasize the differences between Static and Non-Static/Inner Classes I will show you the way in which you have to create an object. For more information about Nested Classes look at this page.

To create an object you have to use a code like this:

OuterClass.InnerClass innerObject = outerObject.new InnerClass();

 

In comparison to the way you make an object with a static nested class:

OuterClass.StaticNestedClass nestedObject = new OuterClass.StaticNestedClass();