Check out example codes for "how to call a static method in java". It will help you in understanding the concepts better.

Code Example 1

class scratch{
	public static hey(){
		System.out.println("Hey");
    }
	public static void main(String[] args){
		hey();
        //print Hey to the console
    }

Code Example 2

Class.staticMethod();

Learn ReactJs, React Native from akashmittal.com