next up previous
Nächste Seite: Blöcke Aufwärts: Grundlagen der Java-Programmierung (Vorlesung Vorherige Seite: Anweisungen

Unterprogramme

$ $Id: method.tex,v 1.3 2003/11/07 00:02:26 joe Exp $ $

Beispiel:

public static int quad (int x) { int y; return x * x; }
Bestandteile:



Johannes Waldmann 2004-01-30