mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
24 lines
428 B
Java
24 lines
428 B
Java
// "Use existing implementation of 'm'" "true"
|
|
interface SampleInterface {
|
|
/**
|
|
* Specified in the interface
|
|
*/
|
|
public void m();
|
|
}
|
|
|
|
class Test3 implements SampleInterface {
|
|
public void m() {
|
|
System.out.println("Test1 implementation");
|
|
}
|
|
}
|
|
|
|
class Test1 implements SampleInterface {
|
|
/**
|
|
* Test1 implementation
|
|
*/
|
|
@Override
|
|
public void m() {
|
|
System.out.println("Test1 implementation");
|
|
}
|
|
}
|