Accenture Interview Question

Basic questions like oops concepts