- 讲师:刘萍萍 / 谢楠
- 课时:160h
- 价格 4580 元
特色双名师解密新课程高频考点,送国家电网教材讲义,助力一次通关
配套通关班送国网在线题库一套
百度广告
which of the following statements are true?
1) constructors cannot have a visibility modifier
3) constructors can only have a primitive return type
question 16)
what will happen when you attempt to compile and run the following class?
class base{base(int i){ system.out.println("base"); }}class severn extends base{public static void main(string argv){ severn s = new severn(); }void severn(){ system.out.println("severn"); }}
1) compilation and output of the string "severn" at runtime
3) compilation and no output at runtime
question 17)
which of the following statements are true?
1) static methods do not have access to the implicit variable called this
3) a static method may not be overriden to be non-static
责编:罗莉
上一篇:格林模拟试题三(上)(3)
下一篇:格林模拟试题三(上)(4)
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
点击加载更多评论>>