Is it possible to number the table of contents

Is it possible to number the table of contents

I wanted to know if its possible to change the output of the table of contents to have numbers instead of the arrows beside the headings in the toc.