重要提示:请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
首页 > 工商管理> 管理学
网友您好,请在下方输入框内输入要搜索的题目:
搜题
拍照、语音搜题,请扫码下载APP
扫一扫 下载APP
题目内容 (请给出正确答案)
[多选题]

下面属于Applet的play方法的正确形式的是()

A.publicvoidplay()

B.publicvoidplay(URLurl)

C.publicvoidplay(Stringname)

D.publicvoidplay(URLurl,Stringname)

答案
查看答案
更多“下面属于Applet的play方法的正确形式的是()A、publicvoidplay()B、publicvoidplay(URLurl)C、publ”相关的问题

第1题

下面属于Applet的getAudio方法的正确形式的是()

A.publicAudiogetAudioClip()

B.publicAudiogetAudioClip(URLurl)

C.publicAudiogetAudioClip(Stringname)

D.publicAudiogetAudioClip(URLurl,Stringname)

点击查看答案

第2题

下面是用户程序对Applet类中方法paint()的重新定义,请在横线处填入正确的语句。 public void

下面是用户程序对Applet类中方法paint()的重新定义,请在横线处填入正确的语句。 public void paint(Graphics g) {g.【 】(“你好!”,10,20);}

点击查看答案

第3题

下面哪个方法与applet的显示无关()

A.update

B.draw

C.repaint

D.paint

点击查看答案

第4题

下列哪个方法属于播放声音的方法?()

A.loop()

B.stop()

C.start()

D.play()

点击查看答案

第5题

applet显示相关的3个方法是:paint()方法、update()方法和【 】。

applet显示相关的3个方法是:paint()方法、update()方法和【 】。

点击查看答案

第6题

与显示相关的Applet方法有【 】(),repaint()和update()。

与显示相关的Applet方法有【 】(),repaint()和update()。

点击查看答案

第7题

倘若用户退出浏览器或者重载包含Applet的主页时,浏览器首先调用Applet的方法 stop(),接着执行【

倘若用户退出浏览器或者重载包含Applet的主页时,浏览器首先调用Applet的方法 stop(),接着执行【 】方法释放Applet所占的资源。

点击查看答案

第8题

从下面提供的答案中选出应填入下列英文语句中______内的正确答案。 The most accurate and most boring way

从下面提供的答案中选出应填入下列英文语句中______内的正确答案。

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题

通过实现Applet类的【 】方法,可以定义关于参数的信息。

点击查看答案

第10题

下面是一个Java Applet程序,请将程序补充完整使它的功能为计算数组各元素的平均值。 import j
ava.applet.Applet; import java.awt.*; public class Exam extends Applet{ public void paint(Graphics g){ int a[]={1,3,5,7,9,10}; int total=0; float ave; for(int i=0;i<A.length;i++) total+=a[i]; ave=total【 】; g.drawstring("ave="+ave,30,60); } }

点击查看答案

第11题

在定制Swing Applet的绘图功能时,不能直接改变相应Swing构件的paint()方法,而应该使用【 】方法。

在定制Swing Applet的绘图功能时,不能直接改变相应Swing构件的paint()方法,而应该使用【 】方法。

点击查看答案
下载APP
关注公众号
TOP
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
购买搜题卡查看答案 购买前请仔细阅读《购买须知》
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《服务协议》《购买须知》
立即支付 系统将自动为您注册账号
已付款,但不能查看答案,请点这里登录即可>>>
请使用微信扫码支付(元)

订单号:

遇到问题请联系在线客服

请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示:请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能
请用微信扫码测试
优题宝