package p;

import java.io.Serializable;

class A implements Serializable, Cloneable {
	void m() {
	}
}

package p;

import java.io.Serializable;

abstract class A implements Serializable, Cloneable {
	void m() {
	}
}

Fix example.