Results 1 to 2 of 2
Thread: Array Problem
- 11-22-2012, 05:45 AM #1
Member
- Join Date
- Nov 2012
- Posts
- 1
- Rep Power
- 0
- 11-22-2012, 05:56 AM #2
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 696
- Rep Power
- 6
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
-
Please help with array problem, thanks
By ConnorSG1 in forum New To JavaReplies: 4Last Post: 11-12-2012, 06:29 PM -
[Problem] Enhanced for-loop with 2D arrays (or array in array)
By thewrongsyntax in forum New To JavaReplies: 0Last Post: 10-07-2012, 08:49 PM -
array problem
By surgeon in forum New To JavaReplies: 3Last Post: 05-16-2012, 08: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, 07:04 PM -
array problem
By aizen92 in forum New To JavaReplies: 26Last Post: 12-21-2010, 05:42 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks