Title: Suppose a method p has the following heading:public static int[] p()What return statement may be used in p()? Post by: zar on May 5, 2020 Suppose a method p has the following heading:
public static int[] p() What return statement may be used in p()? ▸ return {1, 2, 3}; ▸ return 1; ▸ return int[]{1, 2, 3}; ▸ return new int[]{1, 2, 3}; Title: Suppose a method p has the following heading:public static int[] p()What return statement may be used in p()? Post by: shawntage on May 5, 2020 Content hidden
|