KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > test > java > hints > EnhancedForLoop


1 package org.netbeans.test.java.hints;
2
3 public class EnhancedForLoop {
4     
5     public EnhancedForLoop() {
6     }
7     
8     public static void main(String JavaDoc[] args) {
9         for (String JavaDoc s : u) {
10     }
11         for (java.util.List JavaDoc<? extends String JavaDoc> s : u) {
12     }
13     }
14 }
15
Popular Tags