nextId static method

int nextId()

每创建一个对象取一个号,销毁时用同一个号打印,方便配对

Implementation

static int nextId() => ++_seq;