Java OOP Help - Saddle Point

Associate
Joined
3 Oct 2006
Posts
2,304
Location
London
Before I get into the problem I'd like to state that I am NOT looking for someone to complete my assignment for me, I'm just after a little bit of guidance.

I'm stuck with some OOP in java. It's my first ever class/package in java and it all compiles but running it doesn't go so well:

Exception.png


Basically the challenge is to generate a grid, of X size, display it and then work out where the saddle point is. The problem I am having though, at the moment, is generating the grid.

Source Code : http://www.imgholder.co.uk/files/1/Assignment6.zip

There is no stipulation that this had to be written with a class, I just wanted to challenge myself, so if worst comes to worst I can revert back to a procedural version.

Does anyone have any ideas as to why I am getting the error in above screenshot?
 
Back
Top Bottom