use Printwriter
delete AppTest.java