title: Default inheritance access specifier
body: <p>If I have for example two classes <code>A</code> and <code>B</code>, such that class <code>B</code> inherits <code>A</code> as follows:</p>
  
  <p><code>class B: public A</code></p>
  
  <p>In this case, I'm doing <code>public</code> inheritance.</p>
  
  <p>If I write the previous code as follows:</p>
  
  <p><code>class B: A</code></p>
  
  <p>What type of inheritance will I be doing here (i.e; public)? In other words, what is the default access specifier?</p>
  
  <p>Just a side question here. Do I call the previous line of codes <code>statements</code>? Especially that I remember I read in the <em>C++ Without Fear: A Beginner's Guide That Makes You Feel Smart</em> book that <code>statements</code> are that that end with <code>;</code>. What do you think about that?</p>
  
  <p>Thanks.</p>