Class diagram and object diagram