/* Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of JavaLessons.com
This code is for educational purposes only. Use at own risk.*/

1. import java.util.* ; 

2.  

3. public class Sortit 

4. //...... 

5.

6.   String[] domexts = new String [100] ; 

7. //.... 

8.  

9.   void doit () 

10.   { 

11.      Arrays.sort ( domexts ) ; 

12.  

13.     int pos = Arrays.binarySearch ( domexts, "nl" ) ; 

14.     //.... 

15.   } 

16. //...... 

17.

18.