Education Menu


Features Menu


Additional Menu


Now Online

We have 28 guests online



Follow US

Twitter You Tube Google Plus
Pinterest Facebook EduLanka Blog


Information Zone

eduLanka Sinhala

Welcome to eduLanka.LK, Largest online education web site in Sri Lanka & most popular educational web site among Sri Lankan students. EduLanka, Best nonprofit & educational website is provided large numbers of online lessons, education related course information, teachers information, E books, examination result alerts, goverment job alerts, tuition class information, career guide for school leavers and more resources related to education in Sri Lanka. Edulanka provides education related resources from primary education, O-Level & A-Level education, University & Postgraduate education and vocational training education.

EduLanka IDN Domains http://එඩියුලංකා.ලංකා http://எடியுலங்கா.இலங்கை

jobs Mathematics SLAS Exam Dharma Education Results


Inside Online School

Share Us

Home Page Information Technology Java Programing (ජාවා වැඩසටහන්කරණය)

JAVA Selection Sort Example

Data Structure - JAVA selection Sort Example

Selection sort is most popular sorting algrithm. Several Universities and IT institutes supplies several java source codes for selection sort. Here is more reliable and checked version without any unnessessory files or codes.

Get this selection sort algorithm sample code and practise it.


Some Steps of this code :

/*eduLanka Online education web site of Sri Lanka
-------- w w w . e d u L a n k a . lk ------------
java programs for University students - who follow courses  -  BIT  -  SLIIT and more
find more lessons in  This e-mail address is being protected from spambots. You need JavaScript enabled to view it
this programs under GNU licence

class Selection   
public static void Short(int array[]) 
int min,temp;
for(int j=0;j<array.length-1;j++)
for(int k=j+1;k<array.length;k++)

public static void main(String arg[])  
int array[]={11,9,5,7,3,1,2,8,6,4,10,14,12,13,15}; 
for(int i=0;i<array.length;i++) 


Add comment

Add comments relevant to this Article. මෙම ලිපියට අදාලව පමණක් අදහස් එකතු කරන්න.

Security code


Download Toolbar


Most Popular Articles

Latest Articles

Copyright © 2005 - 2016 (ඉස්කෝලේ) eduLanka Online Education School of Sri Lanka