title: What is the equivalent keyword for extern in java?
body: <p>I have one public static variable in one file and how can I export the same variable to other files?</p>
  
  <p>For ex:-</p>
  
  <p>file1.java</p>
  
  <pre><code>public final static int buf = 256;
  </code></pre>
  
  <p>file2.java</p>
  
  <p>How can I access the variable "buf" in this file?</p>