Does the addition of a colon after x mean the meaning of loop enhancement? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does the addition of a colon after x mean the meaning of loop enhancement?

21st May 2019, 9:10 AM
郭超桦
2 Answers
+ 1
Please rewrite your question eo we can understand it. Tell us the language and give us a code example of what you're talking about.
21st May 2019, 11:39 AM
HonFu
HonFu - avatar
0
like this one in JAVA public class Program { public static void main(String[] args) { int[ ] primes = {2, 3, 5, 7}; for (int t: primes) { System.out.println(t); } } }
22nd May 2019, 6:33 AM
郭超桦