How to use static variables in Processing?

Hi

//public class class_example {
  
void setup(){
  size(200,200);
  print_hi();
}

  public void print_hi() {
    println("Hi there!");
  }