Since you have many spaces in your line, if you look at the result of the split function, the resulting array will look like
[Welcome, , , , , , , to, , , , Java, , , , , Tutorial]
So if you look, they are empty. String "".
println(""), .
, print(""), , .
, .
, trim() String. .