How to run two parallel for simultaneously | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to run two parallel for simultaneously

like in c or c++ we can run for(i=0, j=5 ; i<5,j>0 ; i++ ,j--) but when I tried running same code in java, it is not accepting. I know there are many substitute to accomplish this task but is there any way to do the above stated in same way in JAVA

11th Jan 2018, 2:20 AM
Anmol Anand
Anmol Anand - avatar
2 Answers
+ 1
Very informative thanx
11th Jan 2018, 3:25 AM
Logomonic Learning
Logomonic Learning - avatar
+ 1
appreciate that!
11th Jan 2018, 6:14 AM
Anmol Anand
Anmol Anand - avatar