add method

void add(
  1. int i
)

Implementation

void add(int i) {
  _counter += i;
}