- 讲师:刘萍萍 / 谢楠
- 课时:160h
- 价格 4580 元
特色双名师解密新课程高频考点,送国家电网教材讲义,助力一次通关
配套通关班送国网在线题库一套
百度广告
question 1)
1) float f=1.3;
3) byte b=257;
5) int i=10;
answer to question 1
--------------------------------------------------------------------------------
what will happen if you try to compile and run the following code
public static void main(string arguments) {
}
system.out.println(arguments);
}
1) error can´t make static reference to void amethod.
3) error array must include parameter
answer to question 2
--------------------------------------------------------------------------------
which of the following will compile without error
import java.awt.*;
class myclass {}
package mypackage;
class myclass{}
/*this is a comment */
import java.awt.*;
answer to question 3
--------------------------------------------------------------------------------
a byte can be of what size
2) (-2 power 8 )-1 to 2 power 8
4)depends on the particular implementation of the java virtual machine
--------------------------------------------------------------------------------
what will be printed out if this code is run with the following command line?
public class myprog{
{
}
1) myprog
3) morning
answer to question 5
--------------------------------------------------------------------------------
which of the following are keywords or reserved words in java?
2) then
4) while
责编:罗莉
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
点击加载更多评论>>