It's not a secret anymore!
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


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: 1508
    
    5

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Scanner class
 
It's not a secret anymore!