diff options
Diffstat (limited to 'src/test/test1/Subtype.java')
-rw-r--r-- | src/test/test1/Subtype.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/test1/Subtype.java b/src/test/test1/Subtype.java new file mode 100644 index 00000000..dffd1eb6 --- /dev/null +++ b/src/test/test1/Subtype.java @@ -0,0 +1,17 @@ +package test1; + +public class Subtype extends SubtypeA implements SubtypeC { + int i; +} + +class SubtypeA { + int a; +} + +interface SubtypeB { + final int b = 3; +} + +interface SubtypeC extends SubtypeB { + final int c = 4; +} |