title: Constructor in class cannot be applied to given types error when calling methods
body: <p>Im trying to write a program using inheritance, that will print the most cost effective broadband/telephone package based on the users usage. (so the basic idea is that the user enters the amount of minutes and MB of broadband required and the program prints the closest match in terms of usage.)
   I keep getting the errors "Constructors  Account in class Account cannot be applied to given types" whenever I try to call methods from other classes
  the Error in the picture below</p>
  
  <p>Error message in terminal</p>
  
  <p><a href="https://i.stack.imgur.com/npTUA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/npTUA.png" alt="enter image description here"></a></p>
  
  <p>User Class:</p>
  
  <pre><code>import java.util.*;
  public class UserAccount {
  
      public static void main(String [] args){
          Scanner input = new Scanner(System.in);
          BronzeAccount newBronzeAccount;
          SilverAccount newSilverAccount;
          GoldAccount newGoldAccount;
          double dayPhone;
          double evePhone;
          double extBroadband;
  </code></pre>
  
  <p>Calling methods in user class:</p>
  
  <pre><code>newBronzeAccount = new BronzeAccount(dayPhone, evePhone, extBroadband);
  newSilverAccount = new SilverAccount(dayPhone, evePhone, extBroadband);
  newGoldAccount = new GoldAccount(dayPhone, evePhone, extBroadband);
  
  
  System.out.println("Account Summary for Bronze Account");
  newBronzeAccount.printPackageBronze();
  
  System.out.println("Account Summary for Silver Account");
  newSilverAccount.printPackageSilver();
  
  System.out.println("Account Summary for Gold Account");
  newGoldAccount.printPackageGold();
  </code></pre>
  
  <p>Constructors from sub classes:</p>
  
  <pre><code>public BronzeAccount(double newdayPhone, double newevePhone,
      doublenewextBroadband,double newtotCost){
  
  public SilverAccount(double newdayPhone, double newevePhone,
      double newextBroadband, double newtotCost, String newextras){
   super(newdayPhone, newevePhone, newextBroadband, newtotCost);
  
   public GoldAccount(double newdayPhone, double  newevePhone, 
       double newextBroadband, double newtotCost, String newextras, 
       String newdmusic){
       super(newdayPhone, newevePhone, newextBroadband, newtotCost, newextras);
  </code></pre>
  
  <p>I've tried changing the variables to those that are declared in the sub-classes which seems to make more sense as thats what the error message seems to require but neither way seems to work.</p>