Its missing a definition of the parameter type (eg int)
MyArray (int MAX) throws IOException {
//etc...
}
But with a static, there isn't a need to pass the info as a parameter, just...
Type: Posts; User: copeg
Its missing a definition of the parameter type (eg int)
MyArray (int MAX) throws IOException {
//etc...
}
But with a static, there isn't a need to pass the info as a parameter, just...
What exactly is the error you are experiencing? The way in which you are passing MAX seems fine. Perhaps the break statement in your MyArray constructor is preventing the filling in of the array? Or...