title: Which members are not inherited in a child class?
body: <p>I'm trying to answer the following question: </p>
  
  <blockquote>
    <p>A child class would not inherit certain members of the parent class. Name three
        such members.</p>
  </blockquote>
  
  <p>I know private members are not inherited to child classes and default members are not inherited outside of the package. Can anyone complete the answer?</p>
  
  <p>Edited:-
  I believe that static members are inherited according to below demonstration </p>
  
  <pre><code>public class sup {
      public static void main(String agr[]){
      }
  
      protected static int staticInt=0;
      protected final int finalInt=3;
      protected int protectedInt=0;
      public String publicString = "";
      private int privateInt=8;
  }
  
  class sub extends sup{
      public void del(){
          staticInt=1;
          staticInt=finalInt;
      }
  }
  </code></pre>