toString() method eka apita use karanna puluwan object ekak text ekak widiyata represent karanna
EX: apita integer value ekak text ekak widiyata pennanna oni nam
int x=10;
String a=x.toString();
getString() method eka use karanne database table eken result set ekata ganna data retrieve karanna
EX: String a="";
Resultset rs=stmt.executeQuery("query")
while(rs.next())
{
a=rs.getString(1);
}
Retrieves the value of the designated column in the current row of this ResultSet


a=rs.getString(1);
meke [getstring(1)] 1 n wenne mokakkda???![]()
it is asking to return the first column of the record retrived by the the database call.a=rs.getString(1);
meke [getstring(1)] 1 n wenne mokakkda???![]()