Methoden-Aufrufe

nicht-statische Methode

class C { Foo m (Bar b); }

C c; ... c.m (y) ...
für Typ-Prüfung behandeln normales Unterprogramm (statische Methode) mit zusätzlichem Argument:
static Foo m (C this, Bar b);

C c; ... m (c, y) ...



Johannes Waldmann 2006-02-02