Initialize a class instance?
<p>I'm trying to initialize an instance of class <code>consoleDroid</code> with <code>consoleDroid console = new consoleDroid();</code>, but it throws a <code>class, interface, or enum expected</code> compile error. What's the right way to initialize the class?</p>

<p><strong>caseSelector.java:</strong></p>

<pre><code>package com.caseselector;

import android.app.Activity;
import android.os.Bundle;

consoleDroid console = new consoleDroid();

public class caseSelector extends Activity
{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        console.create();
    }
}
</code></pre>

<p><strong>consoleDroid.java:</strong></p>

<pre><code>package com.caseselector;

import android.view.View;
import android.widget.TextView;
import android.widget.EditText;
import android.widget.Button;

public class consoleDroid {

    private static String output;
    private Button consoleButton;
    private TextView consoleView;
    private EditText consoleInput;

    public static void create() {
    }

    public static void write(String input) {
    }

    public static void writeLine(String input) {
    }

    public static String readLine(boolean print) {
        return output;
    }
}
</code></pre>
