add java src from basic to exam04.