returning a new object from an array

so I am wanting to return a new object of the object type that is in an array. Is it possible, for example of waht I want to do objecta[] as = new objecta[1]; return new objecta[1]