下列是一个Java Applet程序,填空使它的功能为计算数组各元素的和。程序执行完后sum 的值应为21.0。
A.正确
B.错误
从下面提供的答案中选出应填入下列英文语句中______内的正确答案。
The most accurate and most boring way to(1)Java is that it is a new computer programming language developed by Sun Microsystems that creates(2)independent programs that can be distributed and run remotely. To run Java programs,a computer must have a Java interpreter. Currently(3)Java programs are small "applets" that are(3)as part of web pages.
When you use a Java(4)browser to view a Web page that includes a Java applet, the browser loads the applet onto your computer through your modem or network. Then the Java interpreter runs the applet, which could include animation or sound, on your computer rather than transmitting the code bit by bit over Internet. Afew thousand bytes of Java code can turn into a powerful program on your computer.
So an applet could include(5)with Java interpreter.
A.在JAVA程序中要使用一个变量,必须先对其进行声明
B.变量声明语句可以在程序的任何地方,只要在变量使用前就可以
C.变量不可以在其作用域之外使用
D.局部变量在使用之前可以不初始化,系统使用默认的初始值
A.Java语言允许使用指针访问内存
B.Java是一种面向对象的网络编程语言
C.Java提供了类库支持TCP/IP协议
D.Java Applet程序在网络上传输不受硬软件平台的限制
关于java
C.exe,说法正确的是
A.一个Java程序
B.存放在%JAVA_HOME%bin目录中
C.Java语言解释器
D.JDK提供的Java语言编译程序