Search:

Type: Posts; User: jonathanfox

Search: Search took 0.09 seconds.

  1. Re: dunno how to test this code so i dont know if it works help please

    it works :D, thought the answer for it was way too easy but screw it it does what its supposed too, thanks guys
  2. Re: dunno how to test this code so i dont know if it works help please

    I tried doing that but when i made two sets and gave them values and tried to use the method , it said "cannot return value that is void"
  3. dunno how to test this code so i dont know if it works help please

    public class match
    {
    public int match(Set<Integer> myNumbers, Set<Integer> winningNumbers)
    {


    myNumbers.retainAll(winningNumbers);
    return myNumbers.size();
    }
    }
Results 1 to 3 of 3