title: How to completely hide superclass method in Java
body: <p>Recently I'm thinking about making my own Date library.
  And I'm finding a problem here, here it is:</p>
  
  <p>How do I hide a superclass method in subclass? So it won't be detected in subclass. </p>
  
  <p>Example:
  I have a class that extends to Date, and another class that extends to the previous class.
  In my new subclass, it detects all the methods from Date, like getDate etc.
  What I want is that in my subclass all the methods from Date are undetected, not throwing 
  an exception, but completely undetected.</p>
  
  <p>Thanks in advance :)</p>