📄 testselectionsortrecursion.java
字号:
/**
* @(#)TestSelectionSortRecursion.java
*
*
* @author
* @version 1.00 2009/3/18
*/
public class TestSelectionSortRecursion {
/**
* Creates a new instance of <code>TestSelectionSortRecursion</code>.
*/
public TestSelectionSortRecursion() {
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
double[] testArray=new double [10];
for(int i=0;i<testArray.length;i++)
{
testArray[i]=(double)(10-i);
}
SelectionSortByRecursion.selectionSortRecursion(testArray,testArray.length);
for(int i=0;i<testArray.length;i++)
{
System.out.println(testArray[i]);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -