Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25
Like Tree1Likes

Thread: Help with Netbean class compiling

  1. #21
    Rbyrodger is offline Member
    Join Date
    Aug 2015
    Posts
    13
    Rep Power
    0

    Default Re: Help with Netbean class compiling

    No one class is capable of handling everything. If so, how would I do this in one class?
    Keep in mind, I may sound redundant, but each array has its own math. Which changes with every new input. When a given array meets the wanted criteria, that's when I get the feedback.

    I just do not follow any possible way to do this in one class. "if you don't understand my response, don't ignore it, ask a question" I like that, my question is how (with a little visual "coding" help) would I do that?

  2. #22
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: Help with Netbean class compiling

    If each array requires unique processing, then you could need more that one method, one for each type of processing.
    each array has its own math
    I don't know how you could write a half million methods, one for each array if the processing was unique for each array. More analysis of the problem could show where there are common traits that could reduce the number of methods required.

    No one class is capable of handling everything.
    Can you briefly describe what all needs to be done?

    how (with a little visual "coding" help) would I do that?
    Here is some pseudo code:
    define arraylist
    begin loop to read array data
    read the data for the next array into an array
    save array in the arraylist
    end loop
    begin loop to search the arrays in the arraylist
    get next array from arraylist
    search the array
    end loop thru the arraylist
    Last edited by Norm; 08-11-2015 at 11:29 PM.
    If you don't understand my response, don't ignore it, ask a question.

  3. #23
    Rbyrodger is offline Member
    Join Date
    Aug 2015
    Posts
    13
    Rep Power
    0

    Default Re: Help with Netbean class compiling

    Thank you Norm. I used this as a "President Election Poll". Your input was greatly appreciated. I will be sure to ask here for future issues.

  4. #24
    txguy5199 is offline Member
    Join Date
    Aug 2015
    Posts
    1
    Rep Power
    0

    Default Re: Help with Netbean class compiling

    I'm new also, but I just did an import of the other classes. Requires that there be a package though. Ex: import.examplehelp.Example_2 ; . I placed it with the other imports. That way I could address the classes from the main program. I did this in Netbeans. Not sure if that is the right procedure though.

  5. #25
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,423
    Blog Entries
    7
    Rep Power
    27

    Default Re: Help with Netbean class compiling

    I didn't read all your code, but you should have a serious look at lines #22 and #21 in your original post ...

    kind regards,

    Jos
    Build a wall around Donald Trump; I'll pay for it.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 1
    Last Post: 12-13-2012, 03:06 AM
  2. Class is not compiling!
    By bluej in forum New To Java
    Replies: 2
    Last Post: 01-30-2012, 05:26 AM
  3. compiling .java into .class
    By khp in forum Advanced Java
    Replies: 4
    Last Post: 06-29-2009, 02:52 PM
  4. not compiling a copy of class -
    By itaipee in forum Eclipse
    Replies: 0
    Last Post: 01-07-2009, 09:47 AM
  5. Compiling a single class
    By ROSOBORONEXPORTCORP in forum New To Java
    Replies: 2
    Last Post: 01-28-2008, 12:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •