+ 3
both are quite different method from different class and package as well..
As getString method is in java.sql.ResultSet, and used to get the string value of the column mention.
but optString method is in java.util.String class, optString(int index) use to get the optional string index as mention.



