Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Java
how to create an array?.
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Paul NIcolai Sunga
New Member
Join Date:
Mar 2008
Posts:
43
#1
how to create an array?.
Apr 16 '08, 03:21 AM
hi!!> i am having a problem in creating an array, its just that it is so hard to create an array. can you halp me to do an array?.please.. thankz
Ganon11
Recognized Expert
Specialist
Join Date:
Oct 2006
Posts:
3651
#2
Apr 16 '08, 03:27 AM
[CODE=java]int[] myArray = new int[100];[/CODE]
Replace int with any type you like.
Comment
Post
Cancel
BigDaddyLH
Recognized Expert
Top Contributor
Join Date:
Dec 2007
Posts:
1216
#3
Apr 16 '08, 03:50 AM
Originally posted by
Ganon11
[CODE=java]int[] myArray = new int[100];[/CODE]
Once you know the syntax, it's not so hard, is it? :-)
Comment
Post
Cancel
sukatoa
Contributor
Join Date:
Nov 2007
Posts:
539
#4
Apr 16 '08, 07:02 AM
Originally posted by
Paul NIcolai Sunga
hi!!> i am having a problem in creating an array, its just that it is so hard to create an array. can you halp me to do an array?.please.. thankz
Do you have a book?
regards,
sukatoa
Comment
Post
Cancel
satch
New Member
Join Date:
Feb 2008
Posts:
23
#5
Apr 16 '08, 10:35 AM
Originally posted by
Paul NIcolai Sunga
hi!!> i am having a problem in creating an array, its just that it is so hard to create an array. can you halp me to do an array?.please.. thankz
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.html
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment