Need Help (again)- GETTER METHOD: Need to identify all integers divisible by the Prime, removed from one list and added to another list. ADVISE on where to begin....
Posted on 2007-11-25
Hi again, to those who helped me earlier.
I have a getter method began, but I'm not sure how to go about the code. Honestly, I'm so new to Java... I'm not very familiar with getter methods as well as incorporating the usage of modulus operators... %
Please help...... at least where to begin...
public static void getComposites(ListInterface<Integer> candidates, ListInterface<Integer> composites, Integer prime)
//if prime is divisible by candidates
// and add to composites list....