some of my code:
for (int i=0; i<size; i++)
{
java.util.StringTokenizer st = new java.util.StringTokenizer(check, ","
id1 = st.nextToken();
id2 = st.nextToken();
}
an error:
cannot resolve symbol
symbol : constructor StringTokenizer
(java.lang.String[],java.lang.String)
location: class java.util.StringTokenizer
java.util.StringTokenizer st = new java.util.StringTokenizer(check, ","
error point to "new"
what's wrong??
for (int i=0; i<size; i++)
{
java.util.StringTokenizer st = new java.util.StringTokenizer(check, ","
id1 = st.nextToken();
id2 = st.nextToken();
}
an error:
cannot resolve symbol
symbol : constructor StringTokenizer
(java.lang.String[],java.lang.String)
location: class java.util.StringTokenizer
java.util.StringTokenizer st = new java.util.StringTokenizer(check, ","
error point to "new"
what's wrong??