Check 4th element of an arraylist and compare it to an element.
example:

1,1,2,4,1,2,3,4,1,2,5,1.

so the 4th elements would be 4,4,1 and i want to compare that those numbers are the same as 4.

I was thinking an if statemet would work. any recomendations?

rproffitt commented: Where's The Fifth Element? +15

rproffitt what fifth element?

commented: "The only hope for mankind is the Fifth Element, who comes to Earth every five thousand years to protect the humans." +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.