Cognizant Interview Question

1. What is end point security? 2. What is IAM? 3. Write a port scanner in Java. 4. Questions about arraylist