Add java object oriented programming examples