Fix the getTitle method: print Object[] with Arrays.toString()