How to call instance in another method (main)
<p>New programmer here:</p>

<p>I need help to be able to call an instance of the class Album from a method right above. </p>

<pre><code>public static void main(String[] args) {
        Album a1 = new Album("Fede Finn og Funnyboys", "Glade Aber");

        Ar1.addAlbum(a1);

    }

    public void runner1() {
        Ar1.sortList();
        System.out.println("");
        toTxt(1);
        Ar1.removeAlbum(Album.**a1**);
</code></pre>

<p>I get this mistake: a1 cannot be resolved or is not a field.</p>

<p>Easy problem - i know, sorry :)</p>

<p>Thx</p>
