DXC Technology Interview Question

programming language and oops concept