rendered paste bodypublic class HTML { private String Titel, Source, URL; HTML(String t, String s, String u){ this.Titel = t; this.Source = s; this.URL = u; } public String generate(){ String text = this.Titel + "\n" + this.Source + "\n" + this.URL; return text; } public static void main(String args[]){ HTML_plus h = new HTML_plus("Titel is da", "Meine URL ist schön", "Sourcecode meldet sich zum Dienst", "Ich bin der Author und du nicht!!", "Heute ist Donnerstag"); System.out.println(h.generate()); }}public class HTML_plus extends HTML{ private String Author; private String Erstelldatum; HTML_plus(String t, String u, String s, String a, String d){ super(t, u, s); this.Author = a; this.Erstelldatum = d; } public String generate(){ return super.generate() + "\n" + this.Author + "\n" + this.Erstelldatum; } }