title: I want to print an element from an array
body: <p>in my program I want the user to be able to print an element from an array. This is how far I've and I can't think of what to put next?</p>
  
  <pre><code>public void viewClub() { 
  
  System.out.println("Please enter the name of the country whose details you would like to see");
  
      String Name = input.next();
  
      for (int i = 0; i &lt; countryList.size(); i++) {
  
          Country x = countryList.get(i);
  
          if (Name.equalsIgnoreCase(x.getName())) {
  
  
          }
  </code></pre>