Please do not copy and paste from other answers; pleaseanswer only if you know it.
1. In the Quiz class, the foo method has the following API:
public static double foo( int i)
Assuming x is an integer value, and assuming the followingstatement having been executed:
Quiz q = new Quiz();
Which method call(s) could be used?
a double i = Quiz.foo( x );bSystem.out.println(“ Foo has returned the double value: “ +q.foo( x));cboth a and bdneither a or b
——————————————————————————————————————-
2. Which statement(s) will instantiate adouble array of 6 total elements?
a
double [] [] cellbills = new double[2][];
cellbills[0] = new double[4];
cellbills[1] = new double[2];
bdouble [] [] cellbills = { {
PayPal Gateway not configured
PayPal Gateway not configured