Multiple assignment at once in java
tl;dr: No, there isn’t such a thing in Java. You can assign initial values to variables like this: But if your want (1, 2, 3) to be the result of a method call, this is not possible in Java. Java does not allow returning multiple values. Python allows this: The main point, why this does … Read more