addOne method

int addOne(
  1. int value
)

Implementation

int addOne(int value) {
  return value + 1;
}