18 lines
349 B
Java
18 lines
349 B
Java
//: initialization/DynamicArray.java
|
|
// Array initialization.
|
|
|
|
public class DynamicArray {
|
|
public static void main(String[] args) {
|
|
Other.main(new String[]{ "fiddle", "de", "dum" });
|
|
}
|
|
}
|
|
|
|
class Other {
|
|
public static void main(String[] args) {
|
|
for(String s : args)
|
|
System.out.print(s + " ");
|
|
}
|
|
} /* Output:
|
|
fiddle de dum
|
|
*///:~
|