Hi all, I was wondering what the output to this tokenizer problem would be?
is the output 1? Any help is appreciated!Code Java:int n = 0; for (StringTokenizer st = new StringTokenizer("1,'2,3',4", ","); st.hasMoreTokens(); n++) { String s = st.nextToken(); } System.out.println(n);
Thanks,
dc
