fork download
import java.util.*;
import java.lang.*;

class Main
{
	public static String[] getMagicArray(){
        String[] magic_array={"1","2"};
        System.out.println("getMagicArray() called!");
        return magic_array;
	}
    public static void main (String[] args) throws java.lang.Exception
	{
		for(String x : Main.getMagicArray()){
    	    System.out.println(x);
		}
	}
}
Success #stdin #stdout 0.02s 245632KB
stdin
Standard input is empty
stdout
getMagicArray() called!
1
2