You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Subtype.java 227B

1234567891011121314151617
  1. package test1;
  2. public class Subtype extends SubtypeA implements SubtypeC {
  3. int i;
  4. }
  5. class SubtypeA {
  6. int a;
  7. }
  8. interface SubtypeB {
  9. final int b = 3;
  10. }
  11. interface SubtypeC extends SubtypeB {
  12. final int c = 4;
  13. }