Thomson Reuters Interview Question

write abstraction encapsulation program