solve 3 exercises in big java 4th

solve 3 exercises in big java 4th
15.1 15.2 15.3