some programes are written by java language. because they are typical ,I share them.