mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
19 lines
351 B
Java
19 lines
351 B
Java
import java.util.Set;
|
|
|
|
interface Interface {
|
|
void method(Set<?> s);
|
|
}
|
|
|
|
class SuperClass implements Interface {
|
|
public void method(Set s) {
|
|
// do nothing
|
|
}
|
|
}
|
|
|
|
class SubClass extends SuperClass {
|
|
public void method(Set s) {
|
|
super.method(s); //ERROR: Abstract method 'method(Set<?>)' cannot be accessed directly
|
|
}
|
|
}
|
|
|