You have a class named Customer and a variable named customers.
You need to test whether the customers’ variable is a generic list of Customer objects.
Which line of code should you use?
A. Option A
B. Option B
C. Option C
D. Option D
You have a class named Customer and a variable named customers.
You need to test whether the customers’ variable is a generic list of Customer objects.
Which line of code should you use?
A. Option A
B. Option B
C. Option C
D. Option D
A for sure
A
Correct answer is A .
Correct is A
Correct is A
In D state you check is class Type equal to class List
Correct is A!!!
Correct answer is A.