How to add two scanner strings together? in 'if' statement : <p>I'm new to Java and I'm trying to add two strings of data together from a scanner object. </p>

<p>I'm wanting to say </p>

<pre><code>if(age.equals("child")) AND sex.equals("male")) THEN System.out.println etc; 
</code></pre>

<p>This code below is all I have so far. I also have a code:    sex.equals("male")</p>

<pre><code>if(age.equals("child")){
        System.out.println("1. Male child shirts are on the 5th floor");
        System.out.println("2. Male child trousers are on the 6th floor");
        System.out.println("3. Male child shoes are on the 6th floor");
    }
</code></pre>

<p>I hope this isn't too confusing. I'm new to learning Java and only just learning the terminology. </p>

<p>Thanks</p>
