executeBodyColumnHeadings and ColumnHeadings

Hi everyone,

Can anyone tell me , what is the exact difference between element.executeBodyColumnHeadings() and element.ColumnHeadings() method.

I know that, to print column headings we can use executeBodyColumnHeadings(). then why we have ColumnHeading method.

Please guide me on this.