The ResultSetMetaData interface returns the information of table such as total number of columns, column name, column type etc.