I made an array of Strings with following code
public class Main
{
static String[] words = {"watch", "on", "youtube",":","Mickey","en","de","stomende","drol"};
public static void main(String[] args)
{
String output = "";
for(int i = 1 ; i <= words.length ; i++)
{
output += " " + words[i];
}
System.out.println(output);
}
}
What I expected to receive as output was:
"Watch on youtube : Mickey en de stomende drol"
But the actual output was
"on youtube : Mickey en de stomende drol"
I think I made a little mistake, how does it come?