资讯
This post explains how to call a method in Java. Learn how to define methods, call them from other classes, and pass arguments!
Googling for "Java return multiple values" reveals people like some "javatuples" library. I have not played with records yet, but if you are using Java >= 16, I would test using records.
当前正在显示可能无法访问的结果。
隐藏无法访问的结果