Java code submission - can use a public Main

The forum to report every bug you find or tell us what you'd like to find in UVa OJ's new system

Moderator: Board moderators

Post Reply
alekscooper
New poster
Posts: 5
Joined: Thu May 21, 2015 9:52 pm

Java code submission - can use a public Main

Post by alekscooper » Sun Jan 17, 2016 5:13 pm

Hello everyone,

The Java submission guidelines say:
Do not use public classes (even Main must be non public to avoid compile error). However, you can add and instance as many classes as needed.
However, I tried submitting some problems with Main being public and got AC.

Post Reply

Return to “Bugs and suggestions”