This is called as a marker interface, which is use to mark a class for serialization purposes. By implementing this interface Java know that this class can be serialized.
Yes, you don't need to implement a method when create a class a serializable because the interface itself doesn't define any method. But there are some rules for creating a good serializable class, you can read it here:
Implementing Serializable.