Demo with multiple classes in same .java file