TA的每日心情 | 开心 2021-3-12 23:18 |
---|
签到天数: 2 天 [LV.1]初来乍到
|
这个程序很有意思,程序中大量使用了中文变量名。
主类 EnglishTest.java
考试区域 TestArea.java
读取试题 ReadTestquestion.java
试题文件:123.txt 考考你(7)
What is the result of executing the following fragment of code:
boolean flag = false;
if (flag = true) {
System.out.println("true");
} else {
System.out.println("false");
}
A. true is printed to standard out
B. false is printed to standard out
C. An exception is raised
D. Nothing happens
Select the most appropriate answer.
点击查看答案
如下运行图: 
function TempSave(ElementID)
{
CommentsPersistDiv.setAttribute("CommentContent",document.getElementById(ElementID).value);
CommentsPersistDiv.save("CommentXMLStore");
}
function Restore(ElementID)
{
CommentsPersistDiv.load("CommentXMLStore");
document.getElementById(ElementID).value=CommentsPersistDiv.getAttribute("CommentContent");
}
源码下载:http://file.javaxxz.com/2014/10/1/140024531.zip |
|