1
Answer

returning largest int variable from object

Photo of Rich

Rich

12y
2.2k
1
What is the most efficient way of returning or finding the largest int variable from an object. For example, object A has many int variables. I am just wandering is there a way to iterate through an object's variables without resorting to a long and drawn out if statement.

Answers (1)