/in/Main.java:1: error: class, interface, or enum expected
public static void main(String[] args) {
^
/in/Main.java:5: error: class, interface, or enum expected
String b = new String();
^
/in/Main.java:7: error: class, interface, or enum expected
String allStrig = new String();
^
/in/Main.java:9: error: class, interface, or enum expected
Scanner scanner = new Scanner(System.in);
^
/in/Main.java:10: error: class, interface, or enum expected
allStrig = scanner.nextLine();
^
/in/Main.java:11: error: class, interface, or enum expected
String[] arrayString = allStrig.split(" ");
^
/in/Main.java:13: error: class, interface, or enum expected
a = arrayString[0];
^
/in/Main.java:14: error: class, interface, or enum expected
b = arrayString[1];
^
/in/Main.java:15: error: class, interface, or enum expected
int x = 0;
^
/in/Main.java:16: error: class, interface, or enum expected
for (int i = 0; i < a.length(); i++) {
^
/in/Main.java:16: error: class, interface, or enum expected
for (int i = 0; i < a.length(); i++) {
^
/in/Main.java:16: error: class, interface, or enum expected
for (int i = 0; i < a.length(); i++) {
^
/in/Main.java:20: error: class, interface, or enum expected
}
^
/in/Main.java:23: error: class, interface, or enum expected
}
^
14 errors