试题详情
- 多项选择题Which two demonstrate an “is a” relationship? ()
A、 public interface Person{} public class Employee extends Person{}
B、 public interface Shape{} public class Employee extends Shape{}
C、 public interface Color{} public class Employee extends Color{}
D、 public class Species{} public class Animal (private Species species;)
E、 interface Component{} Class Container implements Component ( Private Component[ ] children; )
- D,E
关注下方微信公众号,在线模考后查看
热门试题