Search:

Type: Posts; User: syang

Search: Search took 0.44 seconds.

  1. [SOLVED] Re: Writing a program with arrays and class methods... PLEASE HELP?

    My revised program...


    public class Un8
    {
    public static void main( String [] args )
    {

    int [] even = new int [ 100 ];
    int [] odd = new int [ 100 ];
  2. [SOLVED] Re: Writing a program with arrays and class methods... PLEASE HELP?

    sorry, I thought that my replies weren't displaying, until I saw the next page button. I'm new to this site, ok?
    This is what it tells me after I added System.out.println( i and j );

    c:\Program...
  3. [SOLVED] Re: Writing a program with arrays and class methods... PLEASE HELP?

    c:\myjavaprograms\java Un8
    1
    1
    1
    1
    1
    1
    It just goes on and on, keeps printing out 1 over and over again.
    It gives me a different number everytime. Last time it was 0, the first time I ran it...
  4. [SOLVED] Re: Writing a program with arrays and class methods... PLEASE HELP?

    Actually, I came up with a new edited code, shown below... but when I run it, it gives me unlimited numbers, I'm not sure how to exactly describe it.


    public class Un8
    {
    public static void...
  5. [SOLVED] Re: Writing a program with arrays and class methods... PLEASE HELP?

    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\selena>cd c:\program files\java\jdk1.6.0_21\bin

    c:\Program...
  6. [SOLVED] Re: Writing a program with arrays and class methods... PLEASE HELP?

    I can't copy paste it because it is in command prompt and I can't select anything... what should I do?
    I just installed netbeans IDE, it often tells me 'reaches end of file while parsing', what does...
  7. [SOLVED] Re: Writing a program with arrays and class methods... PLEASE HELP?

    I added parentheses after it, but it still displays the error messages...
  8. [SOLVED] Writing a program with arrays and class methods... PLEASE HELP?

    I'm writing a program that generates 100 random integers from 0 to 25 and stores them in an array. Then, the program should call class methods to sort the odd numbers into an array and the even...
Results 1 to 8 of 9