Droom interview question

Types of inheritance,Abstraction,Encapsulation Friend function