Array using method

Enter an array of random numbers and find even and odd numbers in separate twoo arrays and then sort them in ascending order
we should use the method concept in two different classes one class for array creation and finding even, odd numbers and to sort. and other one is main method program