Learning object oriented programming