Class HelloWorld
java.lang.Object
topics.introduction.HelloWorld
Just to show a small example of how the project is structured
- Author:
- vicegd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintsum(int a, int b) Adds two integer numbers and return the result
-
Constructor Details
-
HelloWorld
public HelloWorld()
-
-
Method Details
-
sum
public int sum(int a, int b) Adds two integer numbers and return the result- Parameters:
a- The first integer number to be addedb- The second integer number to be added- Returns:
- The calculation of a+b
-