generate random no. but at 1st position character 2nd&3rd number and 4thcharacter at last confirm the generated no. : i want to input a string="abcde12345ABCDE" using scanner and then generate the random number of length 4 but at 1st place it should be character 2nd place it should be number 3place it should be number and at 4th place it should se character..... at last i want to match the generated number...
 say:

Input 
String="abcde12345ABCDE";

\\Processing....
Output

A25b \*generated no. 1.charater 2.number 3.number & 4.character.*/

Plz enter the generated no.!!
A25b