Code
String[] arrayWords = sentence.split(" ");
this is an array declaration and initialization. If you initialize an array to some value, you do not need to explicitly define how many elements to use (i.e the size of the array) because the compiler is able to do it.