<%@ page contentType="text/html;charset=gb2312" %>
<body>
<%!
int a(int i){
i=i++;
return i;
}
%>
<%
for(int k=0;k<=10;k++){
out.println(a(k));}
%>
</body>
这是html效果: 0 1 2 3 4 5 6 7 8 9 10
文章来源于领测软件测试网 https://www.ltesting.net/
发布: 2007-7-04 13:34 | 作者: admin | 来源: 网友评论 | 查看: 21次 | 进入软件测试论坛讨论
文章来源于领测软件测试网 https://www.ltesting.net/