all about java sample codes