class CD extends Article { // additional Attributes String artist; String [] songs; // Methods void showInfo() { super.showInfo(); // article show info System.out.println ("Type:\tCD"); System.out.println ("Artist:\t"+artist); // maybe we could print the songs here } // Constructor CD (int code, String artist, int price) { super(code, artist, price); // use article constructor this.artist = new String(artist); this.songs = new String[20]; } }