title: What are the values for JOptionPane showConfirmDialog options?
body: <p>If I have a question like </p>
  
  <pre><code>someMethod(JOptionPane.showConfirmDialog(null, "Are you enrolled in a University?"));
  </code></pre>
  
  <p>and I want to pass the answer "yes" or "no" to a method...what parameter should that method be accepting?
  I thought it would be boolean (yes is true, no is false) but I guess I was wrong and a bit of amateur thinking.
  Do the yes and no answers have a int value then?</p>
  
  <p>I hope my question makes sense.  </p>