UML Questions : What is Class Diagram ?

What is Class Diagram ?

Class Diagram is static diagram which contains following : Classess, Attributes and Relationships. Class is represented by box containg three compartment which contain Class name, attributes ( ) and behaviours ( i.e methods ). Access modifiers are represented in following way in Class diagram : “+” for public “#” for protected “?” for private