Results 1 to 2 of 2
Thread: Array Problem
- 11-22-2012, 06:45 AM #1
Member
- Join Date
- Nov 2012
- Posts
- 1
- Rep Power
- 0
- 11-22-2012, 06:56 AM #2
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 762
- Rep Power
- 14
Re: Array Problem
You got the constructor and the toString() method. Now you have to assign a random number to the array. And add the other methods. A note to the toString() method. If you want to concatenate a string you can use the StringBuilder classes instead of using the "+" operator to a string object.
Website: Learn Java by Examples
Similar Threads
-
[Problem] Enhanced for-loop with 2D arrays (or array in array)
By thewrongsyntax in forum New To JavaReplies: 3Last Post: 12-28-2013, 10:39 PM -
Please help with array problem, thanks
By ConnorSG1 in forum New To JavaReplies: 4Last Post: 11-12-2012, 07:29 PM -
array problem
By surgeon in forum New To JavaReplies: 3Last Post: 05-16-2012, 09:57 PM -
Display Array on another class after extracting from txt file and into array problem
By jonathan920 in forum NetBeansReplies: 0Last Post: 05-12-2011, 08:04 PM -
array problem
By aizen92 in forum New To JavaReplies: 26Last Post: 12-21-2010, 06:42 AM
Bookmarks