how to create a function in java
package com.company;
public class Main {
static void one(){ // youCanPutWhatEverNameYouLikeInThePlaceOf"One"
System.out.println("HELLO");
}
public static void main(String[] args) {
one(); //theTerminalShouldSay"HELLO"
}
}