2.Java program to find Prime Number.