Core java related programs including jdk 8 features