Getmaze path loop not getting understanding

how loop work for(String rrhs:rrh)

@satsanodiya02_99d9bc31a1869a2a This loop is called "for each " loop. This loop will traverse all the elements of the array rrh and the element will be stored in rrhs. This loop is used to remove things like int i = 0; etc to traverse the array. in each iteration of ‘for each’ loop you will get element of the array from starting. For more information refer :

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.