Search:

Type: Posts; User: nepperso

Search: Search took 0.13 seconds.

  1. Replies
    15
    Views
    1,969

    Re: Client and Class - Error

    no gave me the same error lol
  2. Replies
    15
    Views
    1,969

    Re: Client and Class - Error

    and I should change it where i have numOfhits with i to r? on the client or the class?

    Like so? :

    /*
    62. Write a class encapsulating the concept of statistics for a baseball
    team, which has...
  3. Replies
    15
    Views
    1,969

    Re: Client and Class - Error

    so instead of having it be [i]? have it be like [r]?
  4. Replies
    15
    Views
    1,969

    Re: Client and Class - Error

    how would you suggest to fix it?
  5. Replies
    15
    Views
    1,969

    Re: Client and Class - Error

    2501

    i am not sure why it's exceeding the elements, it should be right

    it's saying here:
    public String toString()
    {
    String returnString="";
    for(int i=0;i<numOfhits.length;i++)
    ...
  6. Replies
    15
    Views
    1,969

    Re: Client and Class - Error

    sorry, didn't copy the right thing
  7. Replies
    15
    Views
    1,969

    Re: Client and Class - Error

    haha DUH
    Thanks :D

    --- Update ---

    Okay My Client is now correct:

    import java.util.Arrays;

    /**
  8. Replies
    15
    Views
    1,969

    Client and Class - Error

    I've got my client and my class.
    My class seems to be okay, at least on the written part i'm not getting any errors.

    import java.text.DecimalFormat;

    public class EncapTest {
    public static...
Results 1 to 8 of 8