Ryan Chidley wrote:Could someone help me? I do not know why I am getting the below compile error since the class "secrow" implements Comparable...
I think everyone else has covered your basic problem, but here are a few observations for you:
1. You've written a fabulous amount of code, and a lot of it is redundant, which suggests to me that you haven't planned it BEFORE you started coding.
2. Classes start with a CAPITAL letter.
3. Your
try/catch blocks and
ErrorProcedure method (which should be '
errorProcedure') are all redundant, and vastly inferior to
Java's own error handling - which is to display a Stack trace. Now it's possible that you were
told to do it this way; but it's a crappy design.
Just have your
fw_generic3 (which, again, should be '
fwGeneric3') throw
IOException.
4. You could help yourself (and us) out a lot by giving your fields (and methods)
proper names. Programs are designed to be read by
humans, and an array called '
a' or an
int called '
x0' doesn't mean a darn thing to anyone reading yours.
HIH
Winston