This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
In plain English - 'countries' must be a collection of objects. These objects would be String(s) - names of countries, in your case. Please check if this is the case. Also check the scope of 'countries'
Experience and talent are independent of age
Joined: Jul 23, 2009
Thanks Himanshu for your reply.
private Collection<CountryNames> countries = new ArrayList<CountryNames>();