16 lines
280 B
Java
16 lines
280 B
Java
import java.io.Serializable;
|
|
|
|
public class T {
|
|
public static void main(String[] args) {
|
|
T t = new T();
|
|
t.createObject();
|
|
}
|
|
|
|
public Object createObject() {
|
|
return new Serializable() {
|
|
void method() {
|
|
}
|
|
};
|
|
}
|
|
}
|