Accenture Interview Question

Mainly asked from the project and java basics