I am wondering why this code works on C# but not on Java?
It gives me an error in split function that it can only take strings
Should I change the separators to String
so it will be like this

...