title: Undefined constructor (java)
body: <p>so I have a java class called User that contains a constructor like this:</p>
  
  <pre><code>public class User extends Visitor {
      public User(String UName, String Ufname){
          setName(UName);
          setFname(Ufname);
      }
  }
  </code></pre>
  
  <p>And then the he problems occur in my other class called Admin:</p>
  
  <pre><code>public class Admin extends User {  //error "Implicit super constructor User() is undefined for default constructor. Must define an explicit constructor"
  
  //public Admin() { } //tried to add empty constructor but error stays there
  
      //}
  
  
      public void manage_items() {            
  
          throw new UnsupportedOperationException();
      }
  
      public void manage_users() {   
  
          throw new UnsupportedOperationException();
      }
  }
  </code></pre>
  
  <p>I am getting the error <code>Implicit super constructor User() is undefined for default constructor. Must define an explicit constructor at the place marked in the code.</code> I don't know how to fix that, and I'm really new to java.</p>