Example 4.7 YahooRetriever wrong argument type
Example 4.7, the YahooRetriever.java class:
The retrieve method is declared
to take an int argument, but it should be
because that is how Main will call it.
The retrieve method is declared
retrieve(int zipcode)
to take an int argument, but it should be
retrieve(String zipcode)
because that is how Main will call it.
2
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company marked this problem solved.
-
Inappropriate?Unfortunately, I think you are reading the printed version of the book (which is very old at this point). For more up-to-date versions of our books, take a look at: http://www.sonatype.com/documentation...
I’m thankful
The company says
this solves the problem
-
Actually, I believe this problem still exists in the latest pdf (Sep 17, 2009). See page 51 (pdf page 77).
Loading Profile...



EMPLOYEE