Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cannot resolve symbol : method contains (java.lang.String)

807605Oct 10 2007 — edited Oct 10 2007
Dear Sir,

While executing the following code,

for(int i=1;i<=rs1.getColumnCount();i++){
if(((i==14)&&(rs.getString(i).contains("ab kl")))||((i==16)&&(rs.getString(i).contains("ab kl")))){

I gets the error as:
cannot resolve symbol : method contains (java.lang.String)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 7 2007
Added on Oct 10 2007
2 comments
2,130 views