Hw0 test java source code and run successfully