explain on the indexOf error
Posted on 2007-03-23
c:\Object Oriented JAVA\taxiprog\taxisuccess\TaxiInv.java:66: cannot find symbol
symbol : method indexOf(java.lang.String)
location: class TaxiS
if (data[index].indexOf(sW) != -1)
Note: C:\Users\blobo\Desktop\Assignment 1st Semester\Object Oriented JAVA\taxiprog\taxisuccess\TaxiInv.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Tool completed with exit code 1
Can someone explain to me on this error? it's actually point to the square bracket [?
need urgent help!!