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