Teradata Interview Question

Basic OOP and code writing.