jav code , page 112