I see that the second method is passing variable "a". Where odes that variable come from. Do I need to establish variable a first?
It seems that variable a is attributed to the amount of 7000 when I run this. Where is it getting this number from? Line 10? Any help with this would be appreciated. I am able to do all the requirements except the last one.
package com.codegym.task.task02.task0205;
/*
Pay raise
*/
public class Solution {
public static void main(String[] args) {
hackSalary(7000);
}
public static void hackSalary(int a) {
System.out.print("Your salary is:" + (a + 1000) +" " + "dollars per month.");
}
}