<> Getter methods: These are used for retrieving the particular column values of the table from ResultSet. As a parameter, either the column index value or column name should be passed. Usually, the getter method is represented as getXXX() methods.
int getInt(string Column_Name)
The above statement is used to retrieve the value of the specified column Index and the return type is an int data type.
<> Setter Methods: These methods are used to set the value in the database. It is almost similar to getter methods, but here it requires to pass the data/values for the particular column to insert into the database and the column name or index value of that column. Usually, setter method is represented as setXXX() methods.
void setInt(int Column_Index, int Data_Value)
The above statement is used to insert the value of the specified column Index with an int value
Posted Date:- 2021-09-03 22:54:59