> i am working on j2sdk 1.4 on windows XP SP2
> Professional.
>
> I have a problem in importing Scanner class from
> java.util
>
> when I wrote
> import java.util.Scanner;
>
> It showed me an error saying cannot find symbol...
The [url=http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html]Scanner[/url] class exists since 1.5 only.
> what do i do now?
> Plz anyone help me out
Upgrade your Java version (or if you can't, use a Reader and implement the parsing/logic yourself, or find anyother way to achieve what you need with 1.4 API...)