How to find a specific class object?

I have a class and I used a for loop to create 10 objects of the class. The class has a int 2d array and all the objects have random numbers in the 2d array. How can I find an object with certain numbers in the array?

lets say object 1 array has [2][4], object 2 array has [5][3] and object 4 array has [3][5], how can I find the object which has [5][3] in it?
Topic archived. No new replies allowed.