Check For Prime Number Using Interface