Java experiment 5.doc