Answer:
"public static void passAList(ArrayList<Integer> myList, int[] intArr)", is the correct answer for the above question.
Explanation:
Missing information :
- The option is missing but the question states "choose from the following". The correct defining syntax is defined above.
Detailed Explantion :
- The above question asked about syntax which takes the value of list and array as an argument.
- It is already defined in the above syntax.
- And the value is passed by the user at the time of function call.
- The array list is defined by the help of the ArrayList class and the array is defined by the help of the "[]" symbol.
Answer:it has high coupling
Explanation: Coupling is the property in the field of computer program that is defined as the functions ,data and codes of the program are dependent on each other and cannot be changed independently if requires. Thus,high amount of coupling is not considered as good factor due to high interdependence. Loose coupling can be still permitted.
Other options are correct because name of the class should reflect the purpose and well defined responsibilities should be present, modeling of certain component and high cohesion means keeping similar functions togather is also required. So, the only bad factor is high coupling