title: Practical example Encapsulation vs Information Hiding vs Abstraction vs Data Hiding in Java
body: <blockquote>
    <p>I know there are lots of post regarding this question which has theoretical explanation with real time examples.These OOPs terms are
    very simple but more confusing for beginners like me.
    But <strong>I am expecting here not a definition and real time example BUT expecting code snippet in java</strong>.</p>
  </blockquote>
  
  <p><strong>Will anyone please give very small <em>code snippet</em> for each one <em>in Java</em> that will help me a lot to understand Encapsulation vs Information Hiding vs Abstraction vs Data Hiding practically?</strong></p>