Reputation: 1828
i started today learning delphi. i m wondering if there is a way to make a delphi code like mine on java using the for each with array of objects. there is my java code:
class test {
public static void main(String[] args){
String[] names={"ali","samad","kamel","djamel","mustapha"};
for(String name:names){
System.out.println("user:"+name);
}
}
}
thanks.
Upvotes: 7
Views: 1746