Solved

Consider the Following Line of Code for Calling a Method

Question 71

Multiple Choice

Consider the following line of code for calling a method named func1: func1(listData, varData) ;
Which one of the following method headers is valid for func1, where listData is an integer array list and varData is an integer variable?


A) public static void func1(int[] listData, int varData)
B) public static void func1(ArrayList<Integer> listData, varData)
C) public static void func1(ArrayList<Integer> ldata, int vdata)
D) public static void func1(int vdata, ArrayList<Integer> ldata)

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents