find
virtual
static
friend
“虚函数”,就是在函数声明时前面加了virtual关键字的成员函数。故本题选B。
关键字friend标识友元。
static修饰静态变量。
find()函数返回str在字符串中第一次出现的位置。