Anonymous interview question

About java inteneritance oops and abstraction