inc method

void inc()

Increment

Implementation

void inc() {
  _val = _val + 1;
}