I am assuming that Book is your own class and not from the Java Book API, because that constructor does not exist. But like said by JosAH, it would be better to go with an ArrayList<Book> which has a remove(int) method.