finish inheritance section 11

Signed-off-by: xiehuc <xiehuc@gmail.com>