Name: Anonymous 2018-09-12 18:11
I've always found it weird that a function can take multiple arguments, but it can only return a single value. I guess you can make an Object array, and use that as a hacky workaround to return multiple values (of different data types instead of them all being the same, i.e. int[]).
https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html
What are your thoughts on having return values of different data types?
Functional programming apparently does away with return statements entirely, what's up with that?
https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html
What are your thoughts on having return values of different data types?
Functional programming apparently does away with return statements entirely, what's up with that?