搜索资源列表
银行账户
- 编写一个程序,实现如下功能: 自定义一个银行账户类,包括用户名,账号,余额等属性以及存钱、取钱、加利息、查询余额等方法。 模拟两个用户的各8次交易,包括创建账户,取钱,存钱,查询余额,加息。创建账户所需的信息由键盘输入;存钱、取钱的数额由随机数模拟,随机数上限由键盘输入。 每次账户交易在屏幕打印交易后的账户信息(Write a program to achieve the following functions: Customize a bank account class, in
HackerTyper.tar
- Hacker Typer 是不折不扣的装逼应用。你可以一行程序都不会写,只需要一点黑客范儿,就可以让妹子们刮目相看了。点开网站,点 Hack! 按钮,然后自然熟练地把键盘按地劈里啪啦,不要激动,不要劲舞范儿。只见代码喷薄而出,就像飞速拉开的裤子拉链。当妹子们邀请你去修电脑时,你懂的(Hacker Typer is an absolute force application. You can not write a line of programs, just a little bit of ha
Desktop
- 编写一个程序,从键盘任意输入一串字符,从屏幕输出并将其存入ex3.txt文件中,并且退出程序后再次运行输入一串字符,上一次输入并存储的字符不被覆盖。(Write a program to input any string of characters from the keyboard, output it from screen and store it in ex3.txt file, and then run a string of characters again after exitin
MThread
- 用Math类中的随机函数产生10000个0~999范围的随机数并存于数组。从键盘接收一个0~999的数x,然后用5-8个线程并发查找x的所有下标位置(The random numbers of 10000 0~999 ranges are produced by using random functions in the Math class to coexist in the array. Receive a number of 0~999 from the keyboard, x, and
作业
- 1. 编一个程序,定义三个double类型的变量,分别从键盘上输入值给它们,然后用Console.WriteLine方法把它们输出成一列,小数点对齐,保留3位小数。 2.编一个程序,从键盘上输入三个数,把最大数找出来。(1., compile a program, define three variables of double type, input values to them from keyboard respectively, then output them into column
day5
- 基于java的飞机大战小游戏,可以键盘鼠标控制(Java based aircraft war small game, keyboard and mouse control.)
多态图形移动控制
- 现在已有一个简单的游戏界面框架,目前程序可以通过ujhk几个键控制主界面上的主角“三角形”“圆形”上下移动。项目结构如下:Scene.java是主类,该类实现了界面的显示,以及对键盘控制的响应。Role类是游戏角色的父类,里面定义了上下左右移动的方法,以及显示该角色的方法。Circle类是一个已经实现了“圆形”角色,它继承了Role类,并且重新Role类里的所有方法。Triangle类是一个已经实现了“三角形”角色,它继承了Role类,并且重新Role类里的所有方法。现在要求扩展新的角色:比如一
project
- 本程序是一个简单的坦克游戏程序,用java语言编写,在jdk环境下运行。游戏开始时,用户通过键盘操纵坦克移动,转弯和射击,与敌人坦克进行交战,直到消灭所有敌人就可以过关。(This procedure is a simple tank game program, written in Java language, running in JDK environment. At the beginning of the game, the user controls the tank to move
java大作业_20190616
- 1、单词统计。键盘输入一段英文语句,将这段话写入文件file.txt中,然后输出这段话,并且统计语句中英文单词的数目(采用Vector类)以及各单词出现的次数(采用Hashtable类)2、查找替换文本文件的内容。(1)键盘输入文件路径及文件名(2)键盘输入待查找的文本信息和替换的文件(1. Word statistics. Keyboard input a sentence in English, write this sentence into file. txt, and then out
酒店管理系统
- 实现一个简单的酒店管理系统。包括有酒店对象,房间对象,以及最后的测试代码。客户从键盘输入来预定和退订房间。(Implement a simple hotel management system.Including hotel objects, room objects, and the final test code. The customer enters from the keyboard to book and unsubscribe the room.)