SLK Group Interview Question

asked about oops classes and inheritence