title: Constructor A in class A cannot be applied to given types;
body: <pre><code>class A{
      A(String s){
          System.out.println("New A" + s);
      }
      public static void main(String[] args){
  
      }
  } 
  class B{
      B(String s){
          System.out.println("New B" + s);
      }
      public static void main(String[] args){
  
      }
  }
  class C extends A{
      C(String s){
          System.out.println("New C" + s);
      }
      public static void main(String[] args){
      }
  }
  </code></pre>
  
  <p>error on line 28, "C(String s){"</p>
  
  <p>I was following the step by step for a practice for a class. Very confused. Thank you so much for helping with this dumb question. </p>