Beispiel: Komplexe Zahlen II
class Complex
{ protected double re ;
protected double im ;
public Complex () {}
public Complex ( double real_part )
{ re = real_part ; }
public Complex ( double real_part, double imag_part )
{ this(real_part) ;
im = imag_part ; }
...
}
Vorherige Folie
Nächste Folie
Zurück zur ersten Folie
Graphik-Version anzeigen