1. Are a private and a platoon in an encapsulation or an inheritence relationship? Explain 2. Present reasonable parent and child classes for the class Tree (the biological kind). Give a short explanation for why the classes you are proposing are in good parent-child relationships. Solution 1.Private members cannot be inherited directly. Inheritance is not possible through normal object oriented programming methods. Private members are never accessible directly from any other class. But there are methods to access private members through their public getter or setter methods of the same class. So access to private members is possible through encapsulation via public getter method. 2. Inheritance is a property of Object Oriented Programming that describes the relationship among classes in a tree format. There are different types of inheritance like, single, multiple,multilevel and derived. For all these derivations we need base class, parent class and child class. A base class is a class that is created with the intention of deriving other classes from it. A parent class is the closest class that we derived from to create the one we are referencing as the child class. A child class is a class that was derived from another, that will now be the parent class to it. It is best to think of the parent/child relationship in OOP as a concept of “inheritance†rather than a concept of containers and contained elements. In OOP, a parent is one class, and a child is another class that inherits all of the attributes and functions assigned to the parent class. Setting parent-child relationships for classes ensures that the system can provide many types of automatic behavior, such as: .