fori
for (int i = 0; i < ; i++) {
}
iter
for (Integer integer : map.keySet()) {
}
itar
for (int i = 0; i < args.length; i++) {
String arg = args[i];
}
itli生成List的for循环
for (int i = 0; i < list.size(); i++) {
Object o = list.get(i);
}
ritar生成从大往小遍历的for循环
for (int i = args.length - 1; i >= 0; i--) {
String arg = args[i];
}
psvm
public static void main(String[] args) {
}
sout
System.out.println();
iten
while (enumeration.hasMoreElements()) {
Object nextElement = enumeration.nextElement();
}
itit
while (iterator.hasNext()) {
Object next = iterator.next();
}
itaws
try {
MyServiceStub stub = new MyServiceStub();
stub.sayHelloWorldFrom();
} catch (Exception ex) {
ex.printStackTrace();
}
.var
user.getBirthday().var
–>Date birthday = user.getBirthday();