Data type for ArrayList get() function (class, OOP)

Thank you for your answer,

but in the main sheet, when I want call the Class_B getClass_B(int i) function in the loop for, Processing inform me that “the function “getClass_B(int)” doest not exist” …