How to invoke particular for each loop variable (say 2nd variable in the array) in java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to invoke particular for each loop variable (say 2nd variable in the array) in java?

25th Aug 2018, 6:51 PM
Sribalaji A
Sribalaji A - avatar
2 Answers
0
Could you clarify the question?
25th Aug 2018, 7:55 PM
BlazingMagpie
BlazingMagpie - avatar
0
you would identify the variables index and then just use the value at that index as a reference
25th Aug 2018, 7:55 PM
hinanawi
hinanawi - avatar