Returns the number of columns in the result set.
Syntax
public int getColumnCount()
Return Value
An int that indicates the number of columns.
Exceptions
Remarks
This getColumnCount method is specified by the getColumnCount method in the java.sql.ResultSetMetaData interface.