⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example8_2.java

📁 《Java程序设计与应用》-张仕斌-源程序 《Java程序设计与应用》-张仕斌-源程序
💻 JAVA
字号:
/*
 * Example8_2.java
 *
 * Created on 2006年9月16日, 上午10:03
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package example8_2;
import java.util.Arrays; 

/**
 *
 * @author Administrator
 */
public class Example8_2 {
    
    /** Creates a new instance of Example8_2 */
    public Example8_2() {
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
		int vec[] = {37, 47, 23, -5, 19, 56}; 
		Arrays.sort(vec);   //排序
		for (int i = 0; i < vec.length; i++) {System.out.println(vec[i]);} 
    }
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -