Set variable/execute function before runtime in java(android)?
<p>I'm trying to create a class with static variables, but I'm not sure how to set the variables before runtime. This is what I'm attempting to do...</p>

<pre><code>public class Defaults {

public static String[] abc = new String[2];

public static void functionToExecuteBeforeRuntime{

    abc[0] = "a";
    abc[1] = "b";
    abc[2] = "c";

}
</code></pre>

<p>}</p>

<p>It's supposed to set <code>abc</code> using <code>functionToExecuteBeforeRuntime</code> before runtime so other classes can access it with <code>Defaults.abc</code>,however it is never executed. How can I achieve this? Any help appreciated</p>

<p>-oh i'm not sure if this makes a difference but I don't think with andriod I can use the <code>public static main()</code> guy</p>
