Other |
---|
tbd_majorUnresolved |
Duplicate :
|
|
Relates :
|
This declaration compiles without error: interface I1 { default Object clone() { return this; } } Per JLS 9.4.1.2, an error is expected: the default method is override-equivalent with Object.clone, a non-private method of class Object.
|