Skip to main content
1 of 2
Fabian Steeg
  • 45.9k
  • 7
  • 88
  • 113

You could create an instance of the class you want to call the method on, e.g.

new Foo().staticMethod(); 
Fabian Steeg
  • 45.9k
  • 7
  • 88
  • 113