Incorrect Question 2 0/1 pts Assuming method drawXYZ takes one integer parameter
ID: 3739792 • Letter: I
Question
Incorrect Question 2 0/1 pts Assuming method drawXYZ takes one integer parameter, which of the following is a syntactically correct method call? void drawXYZ(3) drawXYZ int 3); drawXYZint number); drawXYZ(3+5*2) Partial Question 3 0.67/2 pts Which of the following statements about methods are TRUE? Select all that apply. Overloaded methods differ by the number and type of parameters Java supports void and value returning methods. Java allows you to have more than one method with the same name. A method in Java can only take one parameter. In other words, multiple parameters are NOT allowed.Explanation / Answer
ANSWER:-
Question (1) option (d) drawXYZ(3 + 5 * 2);
first option hold the return type but method call does not hold return type so first option is false
second and third both have data type with the argument but data type do not add with the variable in method call so both are false
Question (2) starting three option are correct
(1) overloded methods differ by the number and type of parameters
(2) java support void and value returning method
(3) java allows you to have more than one method with the same name