title: bad operand types for binary operator ' ' first type string second type string
body: <p>What is this error for?
  bad operand types for binary operator ' ' first type string second type string</p>
  <pre><code> if (pers.gender==&quot;Male&quot;||pers.gender==&quot;male&quot;||pers.gender =&quot;MALE&quot;)
              {
                  System.out.print(&quot;What is his last name? &quot;);
                  Person.lastName=sc.nextLine();
                  System.out.print(&quot;What is his age? &quot;);
                  Person.age=sc.nextInt();
                  System.out.print(&quot;What is his job? &quot;);
  </code></pre>
  <p>}</p>