Commit 5c228c65 authored by hasan  khaddour's avatar hasan khaddour

Add Simple Task To Test it.

parent 945b20fb
package task;
import java.util.Arrays;
public class TaskSum extends TaskImpl{
@Override
public void execute() {
String[] stringArray = input.split(",");
int sum = Arrays.stream(stringArray).mapToInt(Integer::valueOf).sum();
result = "Sum: " + sum;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment