Persistent Systems Interview Question

write a java code to validate zip code