6D Technologies Interview Question

based on java mini project oops python intro