Hi,<br><br>I had created 3 classes i.e Derived.java, Protection.java and SamePackage.java and kept in the package p1. Then i created package p2, defining main function and created objects to acces the constructors of the three classes in the package p1. But its giving errors.<br>
<br>The error showing is as follows :<br><br><a href="http://pastebin.com/m7e13fd57">http://pastebin.com/m7e13fd57</a><br><br>regards,<br><br>sunny sharma | sunny_slls<br clear="all"><br>-- <br>Sunny Sharma<br>