General Programming

Rule2:Use for-each over for loop


For-each loop also called enhanced for-loop , it hildes the initializer variable and index variable – reducing scope of error.

Published by

Unknown's avatar

sevanand yadav

software engineer working as web developer having specialization in spring MVC with mysql,hibernate

Leave a comment