In UML class diagrams, a class is represented by a rectangular box divided into three sections: class name (top), attributes (middle), and operations (bottom). The basic notation is simply a rectangle with the class name. Option B describes object notation, C is incorrect syntax, and D describes sequence diagram lifelines.