mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
16 lines
364 B
Java
16 lines
364 B
Java
// multiple extend
|
|
|
|
import java.io.*;
|
|
|
|
class c1 {}
|
|
class c2 implements Serializable, Externalizable {
|
|
public void writeExternal(ObjectOutput out) throws IOException {
|
|
}
|
|
|
|
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
|
|
}
|
|
}
|
|
class a <error descr="Class cannot extend multiple classes">extends c1,c2</error> {
|
|
|
|
|
|
} |