Programing Example for ClassDiagram