Metode statis di Java kelas non statis
public class MyClass {
public void someMethod() {
MyClass.someStaticMethod();
}
public static someStaticMethod() {
// some code
}
}
Bram Reyniers