code: public void getColumnHeading(TableCandidate tc) {
      	int headings  = tc.getHeadingLineNumber();
      	String[][] cells = tc.getCells();
      	String columnHeadings = "";
      	for (int i=0; i<=headings; i++) {
      		int j = cells[i].length;
      		for (int k=0; k<j; k++) {
      			cells[i][k] =  tc.replaceAllSpecialChracters(cells[i][k]);
      			columnHeadings = columnHeadings + cells[i][k] + "; ";
      		}
      		columnHeadings = columnHeadings + "\n";
      	}
      	tc.setColumnHeadings(columnHeadings);
      }
docs: Gets the table column headings
  
  @param tc
  the object of the table candidate