finish method chapter section 11,12

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