文件名称:Lab1
-
所属分类:
- 标签属性:
- 上传时间:2014-03-26
-
文件大小:2.58kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
SnakeTable
说明:本程序可产生蛇形阵,同时能识别输入字符,满足了题目要求,同时还有以下特性:
一:在输入字符数超过2(如输入10或者ak)的情况下提示“ERROR!!! You have enter two or more chars!”
二:加入了对齐功能
Mybirthday
说明;本程序定义了一个MyDate的类,可实现题目的所有功能并加入了一些特性:
一:所有数据均可由用户输入(不输入的情况全部默认为0)
二:具备一定的检查输入的特性
Tip:由于默认值为0 ,因此比较年龄的时候会检查是否定义过这个ID-SnakeTable Descr iption: This program can produce serpentine front, and can recognize the input character to meet the requirements of the subject, along with the following characteristics: a: Enter the number of characters in the case of more than two (eg enter 10 or ak) prompt " ERROR! !!! You have enter two or more chars " two: adding the alignment features Mybirthday descr iption This program defines a class MyDate, enabling all the features of the subject and added some features: a: All data can be input by the user ( Without the input of all the default is 0) two: Check the input with a certain characteristic Tip: Since the default value is 0, so when comparing age checks whether the defined ID
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SnakeTable.java
MyBirthday.java
MyBirthday.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.