Given a program fragment as follows interface MyInterface class MyTest implements MyInterface Which statement is NOT correct in the following AMyTest t = new MyTest; BMyInterface t = new MyTest; CMyIn
C.MyInterface t = new MyInterface(); is not correct because interfaces cannot be instantiated.
原文地址: https://www.cveoy.top/t/topic/hm6I 著作权归作者所有。请勿转载和采集!