why does a package error occoures?

HI,

I have the following code segement:

import java.util.*;

import java.io.*;

package SYDC;

class Matriximplements Serializable

{

//contains other methods and constructors...

}

but my compiler says now that it is expecting an interface in line the line with package SYDC.

What shall I do? is there an way that i can sum the class up in a package and keep the implimentation of Seriaziable or do I have to delete the implementiation of Serializable, because this program is based on the safings and loadings of the Matrix class. Pleas help.

[855 byte] By [betlora] at [2007-10-2 19:18:04]
# 1
The package statement must be the first line in the file.
atmguya at 2007-7-13 21:00:36 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...