Cannot figure out why I am getting incompatible types
<p>I am having trouble with an incompatible types error while trying to write a method based off these instructions: "a method that takes an int parameter and displays on the screen the details (name,year of birth etc.) of the Cat stored at that index position. This method must ensure that the parameter is a valid index position and display an error message if it is not."  (there are two classed in the program which use each other). I have commented where I am getting the error below. I would appreciate some assistance. Thanks.</p>

<pre><code>import java.util.ArrayList;


public class Cattery
{
// instance variables - replace the example below with your own
private ArrayList &lt;Cat&gt; cats;
private String businessName;

/**
 * Constructor for objects of class Cattery
 */
public Cattery(String NewBusinessName)
{
    cats = new ArrayList &lt;Cat&gt;();
    NewBusinessName = businessName;
}

public void addCat(Cat newCat){

    cats.add(newCat);
}

public void indexDisplay(int index) {
    if((index &gt;= 0) &amp;&amp; (index &lt;= cats.size()-1)) {
        index = cats.get(index);                       //incompatible types?
        System.out.println(index);
    }
    else{
        System.out.println("Invalid index position!");
    }
 }

 public void removeCat(int indexremove){
     if((indexremove &gt;= 0) &amp;&amp; (indexremove &lt;= cats.size()-1)) {
         cats.remove(indexremove);
        }
    else{
        System.out.println("Invalid index position!");
    }
  }

 public void displayNames(){
   System.out.println("The current guests in Puss in Boots Cattery:");
   for(Cat catNames : cats ){
       System.out.println(catNames.getName());

 }
 }
 }
</code></pre>
