Select Menu

Search This Blog

Populer Posts Hari ini

Popular Posts

Powered by Blogger.

Lorem 1

adsense

" });

Circle Gallery

" });

News

" });
» » » Source Code Mengurutkan Array Dengan Library di Java




package mengurutkanarray;

import java.util.Arrays;

public class MengurutkanArray {

    public static void main(String[] args) {

        // TODO code application logic here

        int[] Array={5,2,8,7,1};

        Arrays.sort(Array);

        System.out.println(Arrays.toString(Array));

    }  

}


Output






About andi

«
Next
Newer Post
»
Previous
Older Post

No comments

Leave a Reply