The code is wrong in Intorduction-What Is an Array?

Correct way

    public String toString() {
        System.out.println(
                this.name + ", directed by " + this.director + ", released in " + this.releaseYear);
        return null;
    }
Comments (1)