Java分为三个体系:
JavaSE(J2SE)(Java2 Platform Standard Edition,java平台标准版)
JavaEE(J2EE)(Java 2 Platform,Enterprise Edition,java平台企业版)
JavaME(J2ME)(Java 2 Platform Micro Edition,java平台微型版)。
Java 循环结构 语法
顺序结构的程序语句只能被执行一次。如果您想要同样的操作执行多次,,就需要使用循环结构。
Java中有三种主要的循环结构:
while 循环
do…while 循环
for 循环
Java 循环结构 示例
public class Test {
   public static void main(String args[]) {
      int x = 10;      while( x < 20 ) {
         System.out.print("value of x : " + x );         
                x++;         
                System.out.print("\n");      
                }
   }}						 
                 
 
 
  
            