title: "using" keyword in java
body: <p>In Java is there an equivalent to the <a href="http://msdn.microsoft.com/en-us/library/yh598w02(VS.80).aspx" rel="noreferrer">C# "using" statement</a> allowing to define a scope for an object:</p>
  
  <pre><code>using (AwesomeClass hooray = new AwesomeClass())
  {
     // Great code
  }
  </code></pre>