title: Is this valid code in java
body: <p>I have what may be a simple question but I can't seem to find an answer. Can variables be assigned with <strong>:</strong> (colon) in java. Like in this code below:</p>
  
  <pre><code> for(String token: tokens) {
    System.out.println(token);
  </code></pre>
  
  <p>I saw this on one of the question boards for a different topic.</p>
  
  <p>Thanks for responding.</p>