Amdocs Interview Question

Mostly on Java 8 features few codes on string and arry.