Originally posted by Abhimanyu Srivastav:
suppose classes, members defined in package1 are ALL declared as default/protected/ private. (no public data at all) then what happens if i tried to import this in other package. Does it give error?
package package2;
import package1.*;