title: Does Java allow nullable types?
body: <p>In C# I can a variable to allow nulls with the question mark. I want to have a true/false/null result. I want to have it set to null by default. The boolean will be set to true/false by a test result, but sometimes the test is not run and a boolean is default to false in java, so 3rd option to test against would be nice.</p>
  
  <p>c# example:</p>
  
  <pre><code>bool? bPassed = null;
  </code></pre>
  
  <p>Does java have anything similar to this?</p>