title: Demonstrating package names collision in java
body: <p><strong>I got this question as an assignment:</strong></p>
  <blockquote>
  <p><strong>Packages/Naming</strong></p>
  <p>We have created lot of packages and defined classes and interfaces in them. We have also discussed the point we have to remember while naming them. In this assignment we will see how important naming is.</p>
  <p>Please change the package names in your previous assignment such that two packages have same name and analyze the result/errors that will be thrown.</p>
  </blockquote>
  <p><strong>My Doubt:</strong></p>
  <p>I am unable to think of a way(scenario) to demonstrate what has been asked.
  Since Java imports are absolute, the situation described in question seem impossible to produce (IMO).</p>
  <p>Please help me to demonstrate this thing.</p>
  <p>Thanks in advance :)</p>