Core Java Research code