I got this question as an assignment:
Packages/Naming
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.
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.
My Doubt:
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).
Please help me to demonstrate this thing.
Thanks in advance :)