文件名称:TOSS
介绍说明--下载内容来自于网络,使用问题请自行百度
编写一个模拟硬币的applet.每次用户按下“Toss”按钮,程序投掷一个硬币。统计硬币各面出现的次数,并显示结果。程序应该调用不带任何参数的独立方法flip,如果是硬币正面,则方法返回“true” 如果硬币背面,则方法返回“false”.-Write a simulated coin applet. Each time the user presses the " Toss" button, the program throws a coin. Statistics coin the number of occurrences of each side, and displays the results. Program should be called without any parameters, independent method flip, if it is coin positive, then the method returns " true" if the coin on the back, then the method returns " false" .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TOSS.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.