作业帮 > 综合 > 作业

请教一个关于java的英文题目.“16.Which of the following lines of c”...

来源:学生作业帮 编辑:灵鹊做题网作业帮 分类:综合作业 时间:2024/04/29 06:34:17
请教一个关于java的英文题目.“16.Which of the following lines of c”...
16.Which of the following lines of code defines a new panel class?
a) class OutputPanel extends JPanel
b) class OutputPanel inherits JPanel
c) class OutputPanel implements JPanel
d) class OutputPanel throws JPanel
e) class OutputPanel uses JPanel
16a
能不能简单说明一下为什么其他的选项不对?
请教一个关于java的英文题目.“16.Which of the following lines of c”...
JPanel 是一个类
JAVA的语法,
extends 继承类
implements 继承接口
所以,清楚了.