- 讲师:刘萍萍 / 谢楠
- 课时:160h
- 价格 4580 元
特色双名师解密新课程高频考点,送国家电网教材讲义,助力一次通关
配套通关班送国网在线题库一套
question 7)
what will happen when you attempt to compile and run this code?
public class mod{1) error at compilation: native method cannot be static
3) compilation but error at run time unless you have made code containing native amethod available
question 8)
what will happen when you attempt to compile and run this code?
private class base{}1)compile time error: base cannot be private
3)compile time error transient not a data type
||| question 9)
what happens when you attempt to compile and run these two files in the same directory?
//file p1.java1) both compile and p2 outputs "what a fancy method" when run
3) both compile but p2 has an error at run time
责编:罗莉
上一篇:格林模拟试题二(上)(5)
下一篇:格林模拟试题二(上)(4)
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
点击加载更多评论>>