I might not be aware of best practices.
What are the benefits of having a multiple return type function?
I just assume that one can use an object if this is needed throughout the whole code..
Or maybe create an arraylist if possible and return that?
What are the benefits of having a multiple return type function?
I just assume that one can use an object if this is needed throughout the whole code..
Or maybe create an arraylist if possible and return that?