how to create a static method into another static method in java code example Example: run static method java Class.staticMethod();