2 Protected and private inheritance

 2.1 Protected inheritance
  2.1.1 What is it?
  2.1.2 When to use it?
 2.2 Private inheritance
  2.2.1 What is it?
  2.2.2 When to use it?