sub method

void sub(
  1. int val
)

Subtract

Implementation

void sub(int val) {
  _val = _val - val;
}