title: Gender is enum with FEMALE, MALE
body: <p>So then when we use class with main method, how do we go about it in this case?</p>
  
  <p>For example: </p>
  
  <pre><code>System.out.print("Enter a name: ");
  String name = sc.next();
  </code></pre>
  
  <p>But the question if gender is of type Gender, how would we apply it then in same situation with a scanner?</p>
  
  <p>Would it start something like this:</p>
  
  <pre><code>Gender gender = sc.
  </code></pre>
  
  <p>Question is what comes next after sc.</p>
  
  <p>As well as let's say we created an object </p>
  
  <pre><code>Employee employee = new Employee (gender);
  </code></pre>
  
  <p>And then gender in brackets comes underlined red as I can't figure out how to apply type Gender in scanner after sc.</p>