no gave me the same error lol
Type: Posts; User: nepperso
no gave me the same error lol
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...
so instead of having it be [i]? have it be like [r]?
how would you suggest to fix it?
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++)
...
sorry, didn't copy the right thing
haha DUH
Thanks :D
--- Update ---
Okay My Client is now correct:
import java.util.Arrays;
/**
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...