File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Scanner class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Scanner class" Watch "Scanner class" New topic
Author

Scanner class

sumedha rao
Ranch Hand

Joined: Nov 26, 2010
Posts: 115

The following program is from k and b, pg501 chpt 6....error on line token= s.findLine(args[0]);....why???



scjp1.6,scwcd1.5!!!
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1473
    
    6

The method is findInLine(), not findLine()

You may go through the api doc

http://download.oracle.com/javase/1.5.0/docs/api/java/util/Scanner.html


Swastik
sumedha rao
Ranch Hand

Joined: Nov 26, 2010
Posts: 115

argghh .............i think i need a break from java...acting so stupid these days
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scanner class