title: How to programmatically test if assertions are enabled?
body: <p>One of the correct answers from OCP Java SE 6 Programmer Practice Exams is: </p>
  
  <blockquote>
    <p>You can programmatically test wheather assertions have been enabled
    without throwing an <code>AssertionError</code>.</p>
  </blockquote>
  
  <p>How can I do that?</p>