JAVA选择题云集(二)

/—————-#4 期中考试题#———————–/html 1 下列说法正确的有() 。 (2分)java class中的constructor不可省略 constructor必须与class同名,但方法不能与class同名 constructor在一个对象被new时执行 一个class只能定义一个constructorweb 2数组 对于类与对象的关系,如下说法错误的是( )。 (2分)dom
相关文章
相关标签/搜索