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