1,105,625 Community Members

Array of object

Member Avatar
crash bash
Newbie Poster
8 posts since Mar 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi Guys

i do not know how to create Array of object could you help me plese?

Member Avatar
JamesCherrill
... trying to help
10,418 posts since Apr 2008
Reputation Points: 2,094 [?]
Q&As Helped to Solve: 1,756 [?]
Skill Endorsements: 47 [?]
Moderator
Featured
 
1
 

Example:

Object[] myArrayOfObjects = new Object[2];
myArrayOfObjects[0] = "Hello";
myArrayOfObjects[1] = new Integer(42);
Member Avatar
ztini
Posting Whiz in Training
291 posts since Jan 2011
Reputation Points: 8 [?]
Q&As Helped to Solve: 52 [?]
Skill Endorsements: 0 [?]
 
1
 

Oracle has an excellent tutorial on arrays.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article