This document discusses how to generate code from a class diagram in object oriented software modeling and design. It provides an overview of class diagrams and how they relate to code. It then outlines a two step process for generating code from a class diagram using a software modeling tool: first drawing the class diagram with classes, attributes, operations and relationships; and second using the tool to automatically generate the code skeleton from the diagram. An example of generated code from a sample class diagram is also included.