Bridgenext Interview Question

oops concept