hi,

im having trouble returning an array of objects, im trying to create a method that returns an array of objects which are then used by the Client class to output data i have a class customer, which holds all the information, which is to then be passed on request to the client, ive searched google for examples and help but cant find anything useful:any help much appreciated marke

You haven't looked good enough, there are some pretty good examples out there.
Sun themselves for example have one.

And I know for a fact there's one here as well (I wrote it...).
http://www.daniweb.com/tutorials/tutorial17917.html

Remember that an array is just an object. You would better return a collection though, less trouble and more flexible.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.