Implementation of Java Basic Programs