title: How to fix "Method in class cannot be applied to given types" error?
body: <pre><code>class WageCalculator_1 {
  
      public static void main(String[] args) {
         WagecalculatorApp WageCalculatorObject = new WagecalculatorApp(); 
      }
  
      private double baseRate;
      private double overtimeMultiplier;
      private int hours;
      private int overtime;
      private int overtimeHours;
      private int wages;
      private String multi;
  
      Scanner keyboard = new Scanner(System.in);
  
      public WageCalculator_1(double baseRate, int hours) 
      {
         this(baseRate, 1.5, hours);
      }
  
      public WageCalculator_1(double baseRate, double overtimeMultiplier, int hours) {
         System.out.print("Enter your base rate: ");
         baseRate = keyboard.nextDouble();
  
         WageCalculatorObject.wagecalc(baseRate);
         System.out.print("Enter your hours: ");
         hours = keyboard.nextInt();
  
         WageCalculatorObject.wagecalc(hours);
         System.out.print("Would you like to enter an overtime multiplier (yes/no)? ");
         multi = keyboard.next();
  
         if (hours &gt; 40) {  
             System.out.print("what is the overtime multiplier? ");
             overtimeMultiplier = keyboard.nextInt();
         } else if (hours &lt;= 40) { 
             wages = (int) (hours * baseRate);
             overtimeMultiplier = 0;    
         } else {   
             wages = (int) (40 * baseRate);       
             overtimeHours = hours - 40;
             overtime = (int) (overtimeHours * ( 1.5 * baseRate));   
             wages += overtime;              
         }   
      }
  }
  </code></pre>
  
  <p>I have been having issues with WageCalculatorObject. keeps giving me that error when I try to use it. I have been struggling with this quite a bit and don't know what else to do with it. It gives me <a href="https://i.stack.imgur.com/iv21s.jpg" rel="nofollow">no error message</a>.</p>