摘要:
/*public static void main(String [] args)* 主函数:是一个特殊的函数,作为程序的入口,可以被jvm调用* 主函数的定义:* public:代表该函数访问权限是最大的* static: 代表主函数随着类的加载已经存在,* void:主函数没有具体的返回值* main:不是关键字,但是一个特殊的单词,可以被jvm调用* (String [] args) :函数类型是一个类型,该数组中的元素是字符串,字符串类型的数组* 主函数是固定格式的jvm识别*/public class MainDemo {/** 引用数据类型,一个值或null*/ public st 阅读全文
posted @ 2013-12-14 16:04
天天AC
阅读(315)
评论(0)
推荐(0)
摘要:
More is betterTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 327680/102400 K (Java/Others)Total Submission(s): 11102Accepted Submission(s): 4133Problem DescriptionMr Wang wants some boys to help him with a project. Because the project is rather complex, the more boys come, the better it will be 阅读全文
posted @ 2013-12-14 15:28
天天AC
阅读(337)
评论(0)
推荐(0)