// class with static meth
class Stuff {
  Stuff() {}
  public static void message() {
    System.out.println("I am not a number! I am a free man!");
  }
}

// class for main
public class Static_meth {
  public static void main(String args[]) {
    
    // static means don't need to instantiate an object
    Stuff.message();
    // message(); // this won't work

    // static also means all objects from same class "know"
    // the static variable... setting it one object, sets it for
    // all obects

    Stuff A = new Stuff();
    Stuff B = new Stuff();
    A.message();
    B.message();
  }
  
}

