-
一个flash调用java的经典案例,架构如下: flash actionscript+tomcat+java...
一个flash调用java的经典案例,架构如下: flash actionscript+tomcat+java-called a flash of java classic cases, structure is as follows : java flash actionscript tomcat
- 2022-02-12 09:47:56下载
- 积分:1
-
J2EE_Programming_Book_source_files source code. it is useful for student of comp...
J2EE_Programming_Book_source_files source code. it is useful for student of computer and professional computer man
- 2022-07-22 12:23:46下载
- 积分:1
-
一个很难的数学问题(智力140以下勿进)
旧版Java程序设计Page97 3.12题
庞涓拿到两个整数(2到99之间)之和,孙膑拿到两个整数之积。下面...
一个很难的数学问题(智力140以下勿进)
旧版Java程序设计Page97 3.12题
庞涓拿到两个整数(2到99之间)之和,孙膑拿到两个整数之积。下面是一段很有趣的对话。
庞涓说:我不知道这两个整数是多少,但我肯定你也不知道。
孙膑说:我本来不知道这两个整数是多少。但既然你这么说,那我现在知道了。
庞涓说:哦,那我也知道了。
要求输出所有可能的结果,包括这两个整数之和以及这两个整数之积。
程序设计思路:通过庞涓和孙膑的对话,逐步缩小和的范围,直至得出答案!-A difficult mathematical problem (intelligence not to enter the following 140) old Java programming Page97 3.12 title Pang Juan got two integers (2 to 99) the sum, Sun Bin 2 integers to get the product. Here is a very interesting dialogue. Pang Juan wrote: I do not know how much these two integers, but I am sure you do not know. Sun Bin said: I did not know how much of these two integers. However, as you say so, then I now know. Pang Juan said: Oh, I know. Require the output of all possible results, including the sum of these two integers, as well as the product of these two integers. Program design ideas: By Pang Juan and Sun Bin dialogue, gradually narrowing the scope of, and until the answer!
- 2022-01-26 08:06:00下载
- 积分:1
-
Java 程序编码规范
所有的程序开发手册都包含了各种规则。一些习惯自由程序人员可能对这些规则很不适应,但是在多个开发人员共同写作的情况下,这些规则是必需的...
Java 程序编码规范
所有的程序开发手册都包含了各种规则。一些习惯自由程序人员可能对这些规则很不适应,但是在多个开发人员共同写作的情况下,这些规则是必需的。这不仅仅是为了开发效率来考虑,而且也是为了后期维护考虑。
内容: 命名惯例 、Java文件样式 、代码编写格式 、程序编写 、编程技巧 、Swing 、调试 、性能 、可移植性
1) 命名规范
定义这个规范的目的是让项目中所有的文档都看起来像一个人写的,增加可读性,减少项目组中因为换人而带来的损失。(这些规范并不是一定要绝对遵守,但是一定要让程序有良好的可读性)
l Package名:Package名应该都是由一个小写单词组成。
l Class名:Class名必须由大写字母开头而其他字母都小写的单词组成
l Class 变量名:变量名用一个小写字母开头。后面的单词用大写字母开头。
l Static Final 变量名:Static Final 变量名应该都大写,并且指出完整含义。
l 参数名:参数的名字必须和变量的命名规范一致。
l 数组名:数组应该总是用下面的方式来命名:
byte[] buffer 而不是:byte buffer[]
l 方法的参数:使用有意义的参数命名,如果可能的话,使用和要赋值的字段一样的名字:
-Java 程序编码规范
所有的程序开发手册都包含了各种规则。一些习惯自由程序人员可能对这些规则很不适应,但是在多个开发人员共同写作的情况下,这些规则是必需的。这不仅仅是为了开发效率来考虑,而且也是为了后期维护考虑。
内容: 命名惯例 、Java文件样式 、代码编写格式 、程序编写 、编程技巧 、Swing 、调试 、性能 、可移植性
1) 命名规范
定义这个规范的目的是让项目中所有的文档都看起来像一个人写的,增加可读性,减少项目组中因为换人而带来的损失。(这些规范并不是一定要绝对遵守,但是一定要让程序有良好的可读性)
l Package名:Package名应该都是由一个小写单词组成。
l Class名:Class名必须由大写字母开头而其他字母都小写的单词组成
l Class 变量名:变量名用一个小写字母开头。后面的单词用大写字母开头。
l Static Final 变量名:Static Fina
- 2022-08-10 10:53:45下载
- 积分:1
-
a simple EJB examples of entities MyEJB TestEjbWeb for EJB Session Bean, which i...
一个简单的EJB例子 MyEJB为实体EJB TestEjbWeb为Session Bean,其中有一个方法getList(); index为Servlet,调用TestEjbWeb,通过TestEjbWeb调用MyEjb的数据。-a simple EJB examples of entities MyEJB TestEjbWeb for EJB Session Bean, which is a method getList (); Index for Servlet, call TestEjbWeb through TestEjbWeb call MyEjb data.
- 2022-07-22 06:10:54下载
- 积分:1
-
JAVA内嵌XML代码的几个小程序,采用工厂模式,有助于学习XML语言...
JAVA内嵌XML代码的几个小程序,采用工厂模式,有助于学习XML语言-Java embedded XML code several small procedures, using the factory model to the learning XML
- 2022-04-30 14:43:40下载
- 积分:1
-
JSP 网络聊天 源代码
JSP 网络聊天 源代码-JSP source code
- 2022-01-25 20:03:01下载
- 积分:1
-
Java code to do the Sokoban game, I hope that pointing error
Java代码做的推箱子小游戏,希望各位指点错误-Java code to do the Sokoban game, I hope that pointing error
- 2022-05-17 13:10:24下载
- 积分:1
-
一组指令进行霍夫曼编码,并输出最后的编码结果以及对指令码的长度进行评价。与扩展操作码和等长码进行比较...
一组指令进行霍夫曼编码,并输出最后的编码结果以及对指令码的长度进行评价。与扩展操作码和等长码进行比较-A set of instructions to carry out Huffman code, and output the final results of the encoding length of the script evaluation. With the expansion of the operation code and compare the code length
- 2023-02-26 03:45:04下载
- 积分:1
-
操作系统里的进程描述,是用JAVA语言编的,在Jcreate下编译通过...
操作系统里的进程描述,是用JAVA语言编的,在Jcreate下编译通过-operating system Lane described the process is the use of the Java language series, in which they were compiled through Jcreate
- 2022-02-10 06:35:58下载
- 积分:1