Respuesta :
Option D is correct. The loop should look like this:
for (int i = 0; i < 10; i += 2)
{
System.out.print(i + " ");
}
for (int i = 0; i < 10; i += 2)
{
System.out.print(i + " ");
}