+1 vote
in JAVA by
The difference between nested public static class and a top level class in Java?

1 Answer

0 votes
by

You can have more than one nested public static class inside one class, but you can only have one top-level public class in a Java source file and its name must be same as the name of Java source file.

...