Some Core Java Code Samples