资讯

This post explains how to call a method in Java. Learn how to define methods, call them from other classes, and pass arguments!
There is a reason why Java method modifiers exist. If you call public methods internally and don't understand why, your developers could face major class issues.