1) Which of the following names is suitable as a variable name? a) A_2 b) D-3 c) 5B 2) In Java, it is possible to write a multi-line comment using? a) /* ..........*/ b) // c) //-----* 3) What does this code print? System.out.println("Welcome " + "to " + "java " + 101); a) Welcome to java 101 b) Welcome " + "to " + "java " + 101 c) Welcome " "to " "java " 4) Which of the following expressions is correct? a) int x=7.5 ; b) float y=88.0 c) char z="a" 5) what is the output of the code in the picture? a) 5 + 10 = 15 b) 15 c) sum(10, 5) 6) Can you write a program in Java that uses a function and when called, multiplies two values x and y? a) If you can, write it and send it on WhatsApp to Dr. Omar b) If you can't...tell Dr. Omar to re-explain this point?
0%
JAVA
共享
共享
共享
由
Moa788947
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?