RT
解决方案 »
- 关于org.springframework.transaction.CannotCreateTransactionException问题
- 按钮实现PageUp和PageDown
- 最新的hibernate4终于出来了,绝对的网上最新技术教程
- java在哪个行业前景最好?
- 调用webservice的时候怎么处理事务
- 再次求助面试题,还有个不会:(
- 问一下一个form的输入属性是怎么在action里面传递的?
- i'm louis i'm in chongqing china,i'm love java,i want have to many friend of java.if u want,call me.
- struts的问题
- 你们觉得spring源码难吗。
- 谁告诉我我这hql哪有问题
- sitemesh的路径问题
int temp=0;
for(int i=1;i<=9;i++)
{
temp=100*i;
for(int j=0;j<=9;j++)
{
temp+=j*10;
for(int k=0;k<=9;k++)
{
temp+=k;
System.out.println(temp);
}
}
}
for(int i = 0; i < 1000; i ++){
if(i <10){
System.out.println("00" + i);
}else if(i < 100){
System.out.println("0" + i);
}else{
System.out.println(i);
}
}
}
}
/**
* @author troy(J2EE)
* @version 1.0 1995年的3月23日
*/
public class Test { public static void main(String[] args) {
long s=0;
while(s<1000){
System.out.println(String.format("%1$03d",s));
s++;
}
}
}