public class Text01{ public static void main(String
args[]){ int score = -1;
if(score>85&&score75&&score60&&score=0){ Syst...
分类:
移动开发 时间:
2014-05-18 19:23:36
阅读次数:
260
一. 获取当前系统时间和日期并格式化输出: import java.util.Date;
import java.text.SimpleDateFormat; public class NowString { public static void
main(String[] args) { Simp...
分类:
编程语言 时间:
2014-05-18 19:18:13
阅读次数:
280
今天看资料时看到这样一段代码,记录下 public static bool operator
==(EntityBase entity1, EntityBase entity2) { if ((object)entity1 == null
&& (o...
分类:
其他好文 时间:
2014-05-18 18:51:59
阅读次数:
209
static void Main(string[] args) { var retul =
GetListData("wang"); } public static List GetListData(string name) where ...
分类:
其他好文 时间:
2014-05-18 02:06:10
阅读次数:
243
在Struts2中,Action可以不实现任何特殊的接口或者继承特殊的类,仅仅是一个POJO(Plain Old Java
Object,简单的Java对象)就可以;也可以实现Xwork2中的Action接口;但是由于Xwork的Action接口非常简单,为程序员提供的帮助有限,因此,在实际开发.....
分类:
其他好文 时间:
2014-05-17 23:26:07
阅读次数:
479
package Demo;public class Money{ public static void
main(String args[]) { Money mon = new Money();
System.out.println(mon.change("124")); } /...
分类:
其他好文 时间:
2014-05-17 23:22:10
阅读次数:
412
开始是一个LinkLabel 控件,LinkLabel 绑定了Clicke事件
LinkLabel Delete = new LinkLabel(); Delete.Text = "删除";Delete.Tag="我是第"+i+"行";
...
分类:
其他好文 时间:
2014-05-17 19:55:44
阅读次数:
189
public class abc extends Thread{ private Object
prev=null; private Object self=null; private String msg=null; public abc(Object
prev,Object self,Strin...
分类:
编程语言 时间:
2014-05-17 18:39:01
阅读次数:
361
1 namespace ExtensionMethod 2 { 3 class Program 4 {
5 static void Main(string[] args) 6 { 7 //要求很简单,判断字符串是否长度大于三并...
分类:
其他好文 时间:
2014-05-17 18:25:24
阅读次数:
227
封装sql语句函数 : //首先我们不知道外面会传入多少个参数
//可以用func_get_args()方法来获取全部传入参数,这个方法返回全部参数的数组
//和func_get_args()方法相对应的其实还有一个func_num_args()来获取参数个数 $args = fu...
分类:
其他好文 时间:
2014-05-17 18:16:26
阅读次数:
225