while(/*condition*/){ //action } do{ //action }while(/*condition*/); for(int i = 0; /*condition*/; i++){ } String[] array = new String[]{"1","2","3"}; for(String value:array){ //action }