wood burning stoves*
The moose likes Beginning Java and the fly likes help needed in copying an Array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "help needed in copying an Array" Watch "help needed in copying an Array" New topic
Author

help needed in copying an Array

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

As shown i am getting data in the form of an Object Array (Object[]) from the method getData() as shown below



I am calling this method . Please let me know how can i copy / see this data .I am not clear how to implement .




Save India From Corruption - Anna Hazare.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Which do you want to do, copy or see? For copy, the java.lang.System class has a method that sounds promising.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Evan Caballero
Ranch Hand

Joined: Dec 10, 2009
Posts: 59
I made a few changes to your code, but I'm not sure this is what you want :

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you very much Evan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help needed in copying an Array