9
answers
0
watching
821
views
30 Dec 2017
14. Consider the following method header: public static void method (double X, int y) Which of the following are valid ways to use this method? Write the letters corresponding to the correct answer(s) on your answer sheet. Note that there are five options total. Two are on the next page. (a) System.out.println (method (4,4)); (b) String s = "apple" method (Math.pow (2,3), s.length()); (c) double x=1.2; int y=7; method (double x, int y); (d) method (2.5, Math.sqrt (4)); (e) method (4, 4);
14. Consider the following method header: public static void method (double X, int y) Which of the following are valid ways to use this method? Write the letters corresponding to the correct answer(s) on your answer sheet. Note that there are five options total. Two are on the next page. (a) System.out.println (method (4,4)); (b) String s = "apple" method (Math.pow (2,3), s.length()); (c) double x=1.2; int y=7; method (double x, int y); (d) method (2.5, Math.sqrt (4)); (e) method (4, 4);
9
answers
0
watching
821
views
For unlimited access to Homework Help, a Homework+ subscription is required.
claralillia1Lv10
16 Jul 2023
marcusnicole284Lv10
2 Jul 2023
Already have an account? Log in
22 Jun 2023
Already have an account? Log in
gloryolalere280Lv10
20 Nov 2022
Already have an account? Log in
Read by 1 person
deyvivek095Lv4
7 Feb 2022
Already have an account? Log in
Bunny GreenfelderLv2
31 Dec 2017
Already have an account? Log in