I want to mark all the checkboxes in a page using selenium webdriver?

How can i Implement that?