List<Aula> aulas = javaColecoes.getAulas();
Esse código está dando erro, e também não consegui entende-lo.
O Meu código está assim:
Curso:
package br.com.alura;
import java.util.LinkedList;
import java.util.List;
public class Curso {
    private String nome;
    private String instrutor;
    private List<Aulas> aulas = new LinkedList<>();
    public Curso(String nome, String instrutor) {
        this.nome = nome;
        this.instrutor = instrutor;
    }
    public String getNome() {
        return nome;
    }
    public String getInstrutor() {
        return instrutor;
    }
    public List<Aulas> getAulas() {
        return aulas;
    }
}
TestaCurso:
package br.com.alura;
import java.util.List;
public class TestaCurso {
    public static void main(String[] args) {
        Curso curso = new Curso("Java: Dominando Collections", "Paulo Silveira");
        List<Aulas> aulas = javaColecoes.getAulas();
    }
}
Minha dúvida é a seguinte, eu não teria que primeiro instanciar a Interface List, para depois chamar o método "javaColecoes.getAulas();"?
Porque o meu exercício está como o do instrutor.