src/ch4/ex10: add.
jarforfxtest: add.
src/ch4/ex10: add test and modify code.