Lmethod Java

public class Main {
  static void myMethod() {
    // code to be executed
  }
}
Armandres