Question: 2 - Suppose you are given a method named equal that takes an integer arraylist x as input parameter and returns true if arraylist contains
Suppose you are given a method named equal that takes an integer arraylist as input parameter and returns true if arraylist contains same number of positive and negative elements, false otherwise. Which of the following is the correct statement to call equal method.
a boolean resultequalArrayList ;
b boolean resultequal;
c int resultequalArrayList ;
d int resultequalx;
Leave blank
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
