How do I return an array of objects in java?
public Object[] myMethod() { Object[] objectArray = new Object[3]; return objectArray; }
Simple enough, really.