Get your own customer support community
 

Example 4.7 YahooRetriever wrong argument type

Example 4.7, the YahooRetriever.java class:

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.
 
indifferent I’m indifferent
Inappropriate?
2 people have this problem

The company marked this problem solved.


User_default_medium