Last change
on this file was 2, checked in by bird, 22 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
274 bytes
|
Line | |
---|
1 | // PR234.java
|
---|
2 | public class PR234 extends B implements I
|
---|
3 | {
|
---|
4 | public static void main(String args[])
|
---|
5 | {
|
---|
6 | PR234 x = new PR234();
|
---|
7 | x.m();
|
---|
8 | }
|
---|
9 | }
|
---|
10 |
|
---|
11 | // B.java
|
---|
12 | class B
|
---|
13 | {
|
---|
14 | public void m()
|
---|
15 | {
|
---|
16 | System.out.println ("yes");
|
---|
17 | }
|
---|
18 | }
|
---|
19 |
|
---|
20 | // I.java
|
---|
21 | interface I
|
---|
22 | {
|
---|
23 | public void m();
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.