Examples for Core Java