Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

static method in non static class java

public class MyClass {
	public void someMethod() {
    	MyClass.someStaticMethod();
    }
    
    public static someStaticMethod() {
    	// some code
    }
}
 
PREVIOUS NEXT
Tagged: #static #method #static #class #java
ADD COMMENT
Topic
Name
4+1 =