How would I go about filter values of an arraylist and making one value of the list an integer? Like, if I wanted to check which of the values on the list is half of 10, how would I do that and then take that value and make it a lone variable?
Share
You would have to use a
forloop. Assuming yourArrayListcontainsIntegerobjects: