下面是一个Java Applet程序,请将程序补充完整使它的功能为计算数组各元素的平均值。 import j
第1题
第3题
第6题
A.正确
B.错误
第7题
从下面提供的答案中选出应填入下列英文语句中______内的正确答案。
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.
第9题
A.Java中的方法参数传递时传值调用,而不是地址调用
B.方法体是对方法的实现,包括变量声明和Java的合法语句
C.如果程序定义了一个或多个构造方法,在创建对象时,也可以用系统自动生成空的构造方法
D.类的私有方法不能被其子类直接访问
第10题
第11题
A.Java中的方法参数传递时传值调用,而不是地址调用
B.方法体是对方法的实现,包括变量声明和Java的合法语句
C.如果程序定义了一个或多个构造方法,在创建对象时,也可以用系统自动生成空的构造方法
D.类的私有方法不能被其子类直接访问