title: how to declare a boolean and only gives true if the first and the last character is "a"
body: <p>Given a string <code>personName</code>, I'm trying to create a boolean <code>condition2</code> equal to the condition</p>
  
  <pre><code>the first or last letter in personName is 'A' (case-insensitive). e.g., 'aha' or 'A'
  </code></pre>
  
  <p>Here's what I've tried so far:</p>
  
  <pre><code>boolean condition2;
  if (personName.charAt(0) = "a" || personName.charAt(personName.length()-1) = "a") {
      condition2 = true;
  } else {
      condition2 = false;
  }
  </code></pre>