In BlueJ, if I write a method that takes an array as a parameter, then when I want to test that method with a method call I have to enter the elements with curly braces, so:
Arrays.asList("1", "2", "3");
Will return a List and not a ArrayList.
List
ArrayList
Your methods' parameters should always be the interface and not the implementation.