Simple Core Java sample programs