Why ask the user for a number and then do nothing with it?

You aren't directly storing the x and y co-ords in the ArrayList, you are storing them in a Target object and storing the Target object in the ArrayList. So you need to use one of the ArrayList's retrieval methods such as get(..) to get the Target object and then use whatever methods are available in the Target class to get the x and y values from it.