XYZ Interview Question

class and object