Trane Technologies Interview Question

real time example of using oops