how to write a java for loop?

Java
For (i = 0; i < 10; i++){
  
}
Source

Also in Java: