mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 12:20:06 +08:00
25 lines
274 B
Java
25 lines
274 B
Java
|
// PR234.java
|
||
|
public class PR234 extends B implements I
|
||
|
{
|
||
|
public static void main(String args[])
|
||
|
{
|
||
|
PR234 x = new PR234();
|
||
|
x.m();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// B.java
|
||
|
class B
|
||
|
{
|
||
|
public void m()
|
||
|
{
|
||
|
System.out.println ("yes");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// I.java
|
||
|
interface I
|
||
|
{
|
||
|
public void m();
|
||
|
}
|