Write a java program to validate PAN no.

java program to validate PAN no. Write a program to read a string and validate PAN no. against following rules: There must be eight characters. First three letters must be alphabets followed by four digit number and ends with alphabet All alphabets should be in capital case. Print “Valid” if the PAN no. is valid,