Varargs (variable arguments)可变长参数 ......
分类:
编程语言 时间:
2014-09-30 16:47:29
阅读次数:
189
No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system. 最近接手了一个新的JAVA项目,在IDEA中配置好了Deb...
分类:
其他好文 时间:
2014-09-27 23:25:10
阅读次数:
2609
MySQL5.1.73参数Variable_name Valueauto_increment_increment 1auto_increment_offset 1autocommit ONautomatic_sp_privileges ONback_log ...
分类:
数据库 时间:
2014-09-24 04:36:25
阅读次数:
678
使用VS2005以上版本(VS2005、VS2008、VS2010.....)编译在其他编译器下正常通过的C语言程序,你可能会遇到类似如下的警告提示:引用内容warning C4996: 'strcpy': This function or variable may be unsafe. Consi...
分类:
其他好文 时间:
2014-09-24 01:59:05
阅读次数:
172
Java is strictly pass-by-value. which means, when you pass a variable to a method, the method will just make a copy of that varible and use that copy,...
分类:
编程语言 时间:
2014-09-20 09:56:17
阅读次数:
230
一、登录MySQL查看用SHOW VARIABLES LIKE ‘character%’;下字符集,显示如下:+--------------------------+----------------------------+| Variable_name | Value |+------------...
分类:
数据库 时间:
2014-09-18 22:07:24
阅读次数:
247
一、登录MySQL查看用SHOWVARIABLESLIKE‘character%’;下字符集,显示如下:+--------------------------+----------------------------+|Variable_name|Value|+--------------------------+----------------------------+|character_set_client|utf8||character_set_connectio..
分类:
数据库 时间:
2014-09-18 16:46:15
阅读次数:
221
一,查看profiles的状态值 1,查看profiles是否已经打开了,默认是不打开的。 mysql> show profiles; Empty set (0.02 sec)mysql> show variables like '%pro%';+---------------------------+-------+| Variable_name | Valu...
分类:
数据库 时间:
2014-09-16 15:59:50
阅读次数:
242
建立存储过程的sql如下:CREATEPROCEDUREproc_variable()BEGINDECLAREdec_var_VARCHAR(100);DECLARErep_numINT;DECLAREdec_varCURSORforSELECTID_FROMACT_RU_VARIABLEWHERE...
分类:
数据库 时间:
2014-09-13 14:37:05
阅读次数:
216
我们可以看到Java中得main方法都是static的。这个static有什么特性呢?
往往一个实例class需要instantiate得到一个实例才能用其中的method以及variable。
而static的方法并不是tied to这个实例class的,也就是说instantiate得到的实例并不能使用这个方法,而是直接通过class名字加点加方法名就可以了。
static的方法...
分类:
编程语言 时间:
2014-09-12 01:14:52
阅读次数:
190