We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,633 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Array of object

Hi Guys

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

3
Contributors
2
Replies
8 Hours
Discussion Span
1 Year Ago
Last Updated
3
Views
crash bash
Newbie Poster
8 posts since Mar 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Example:

Object[] myArrayOfObjects = new Object[2];
myArrayOfObjects[0] = "Hello";
myArrayOfObjects[1] = new Integer(42);
JamesCherrill
... trying to help
Moderator
8,497 posts since Apr 2008
Reputation Points: 2,583
Solved Threads: 1,454
Skill Endorsements: 29

Oracle has an excellent tutorial on arrays.

ztini
Posting Whiz in Training
299 posts since Jan 2011
Reputation Points: 51
Solved Threads: 53
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0634 seconds using 2.72MB