+ 5

Java loop compare

Hey people and PROgramers... Is there any way to compare previous value in java forloop WITHOUT USING ARRAY? Compare previous value with current value during a loop like num[i].equals(num[i - 1]); Something like that code ☝️ I know ☝️ is related to array... Anyway without using array? Thanks you... Sololearners! Solo-learn on! 😎🤙

6th Jan 2020, 9:07 PM
KingDaniel2004
KingDaniel2004 - avatar
2 odpowiedzi
+ 5
~ swim ~ thank you 😎👑
7th Jan 2020, 3:56 AM
KingDaniel2004
KingDaniel2004 - avatar