public class JAVA_Guevarra {
public static void main(String[] args) {
    //These are the variables
    double empBasicPay[] = {4000,5000,12000,6000,7500};
    double empHousingAllow[] = new double[5];
    int i;
    //This program computes for the payment of the employees
    for(i=0; i<5; i++){
        empHousingAllow[i] = 0.2 * empBasicPay[i];
        //This loop statement gets 20% of the employee basic payment
    }
    System.out.println("Employee Basic and House Rental Allowance");
    for(i = 0; i<5; i++){
        System.out.println(empBasicPay[i] + " " + empHousingAllow[i]);
        //This prints out the final output of the first loop statement
    }
}
}
What does the new double[5] do in this statement?
 
     
     
     
     
    