Add basic syntax and example of java program