Judge0 CE

FREEMIUM
Par Judge0 | Mise à jour hace 22 días | Tools
Popularité

9.9 / 10

Latence

656ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

Have execution error for java

Have execution error for java, how can I fix this, always came this error message for simple java code also,

Main.java:7: error: class BinarySearch is public, should be declared in a file named BinarySearch.java
public class BinarySearch {
^
1 error.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires