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.
Doe mee aan de discussie - voeg hieronder een opmerking toe
Make sure class name is Main always