8.582
Bearbeitungen
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 13: | Zeile 13: | ||
public static int addiere( int pErsterSummand, int pZweiterSummand ) { | public static int addiere( int pErsterSummand, int pZweiterSummand ) { | ||
return pErsterSummand+pZweiterSummand; | return pErsterSummand+pZweiterSummand; | ||
} | |||
public static void main( String args ) { | |||
System.out.println(Addierer.addiere(4,5)); | |||
} | } | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||