Klasse Sum
java.lang.Object
Sum
This is a sample class that demonstrates Javadoc comments.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
add
(int a, int b) This method returns the sum of two integers.
-
Konstruktordetails
-
Sum
public Sum()Super comment
-
-
Methodendetails
-
add
public int add(int a, int b) This method returns the sum of two integers.- Parameter:
a
- the first integerb
- the second integer- Gibt zurück:
- the sum of a and b
-