There are different types of diagrams, Class diagrams, ERD etc.

some concepts align, so here is a quick overview.

A class diagram uses - and + for private and public fields and methods.

ARROWS

ERD ARROWS

img

CLASS DIAGRAM

img