Any samples of how to write a code in java that initializes array x with random integer values..
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Any samples of how to write a code in java that initializes array x with random integer values..
Please read this: Announcements - What's Wrong With My Code?
Format your code accordingly. Ask specific questions and don't expect anybody to do your assignment for you.
Tmolonges (May 23rd, 2013)
ok m sorry....its just so hard....thats why..
No, it's not. You're overwhelmed by it, that's all. Break it up into small bits. Start with a new method init(x). Once you've declared it, you start filling the array. After that you start thinking about the next method.
ok ive tried that for like 3 days ago n seriously its hard you know why coz m a beginner and my teacher is teaching advanced n i hate to admit i definitley dnt understand anything of java...thats y i just wrote everything..my apologies..