
Johnny Steeven
-
Gesamte Inhalte
7 -
Benutzer seit
-
Letzter Besuch
Inhaltstyp
Profile
Forum
Downloads
Kalender
Blogs
Shop
Alle Inhalte von Johnny Steeven
-
Hallo, ich versuche gerade ein Programm zu schreiben aber bin noch ein Anfanger. Thema=Erben Kann man bitte mir sagen was bei dem Kopierkonstructor der erbende Klasse (Sache) falsch ist ? Hier ist das Programm: package Test; public class Tasche { private double grosse; public Tasche(double grosse){ this.grosse=grosse; } public Tasche(Tasche t){ //Kopierconstructor this.grosse=t.grosse; } public double Valeur(){ return grosse * 5; } } package Testi; import Test.Tasche; public class Sache extends Tasche { private double buch; private double heft; private Tasche t; public Sache(Tasche t , double buch , double heft){ super(t); this.t=t; this.buch=buch; this.heft=heft; } public Sache(Sache u ){ //Kopierkonstructor der Klasse Sache =>FEHLERMELDUNG this.t=new Tasche(u.t); this.buch=u.buch; this.heft=u.heft; } }
-
Hallo, ich ich würde mich freuen wenn jemand mir sagen kann , wie ich bestimmte Integral mit Java programmieren könnte. Beispiel a ∫f (x)dx b
-
Hallo, ich ich würde mich freuen wenn jemand mir sagen kann , wie ich bestimmte Integral mit Java programmieren könnte. Beispiel a ∫f (x)dx b