The top level classes in java , cannot be marked as private . We can have private classes in java file , but they should nested inside another class.
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!