Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: rsbains on May 5, 2020



Title: Assume the signature of the method xMethod is as follows.public static void xMethod(double[] a)Which ...
Post by: rsbains on May 5, 2020
Assume the signature of the method xMethod is as follows.

public static void xMethod(double[] a)

Which of the following could be used to invoke xMethod?

▸ xMethod(new double[2]);

▸ xMethod(5);

▸ xMethod(new int[2]);

▸ xMethod({3, 4});


Title: Assume the signature of the method xMethod is as follows.public static void xMethod(double[] a)Which ...
Post by: urbacore on May 5, 2020
Content hidden