For this program we cannot use any predefined method of java to write this program.First we under stand question clearly. Directly not possible to sort integer number but we can sort integer array.
In this program, first i take input integer value as String.Convert string value to character array and sort character array. Assign character array to String.Now convert String to integer.
This is the process to sort integer value without using any predefined methods of java.
If you want see the click on below link:
No comments:
Post a Comment